From 5e01bbc7474a75492c45ba5aafc7105d004d36f1 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Fri, 2 Mar 2018 15:48:23 -0600 Subject: Have the "action" table cell flex Let the action table cell flex to fit 2 buttons, "Activate" and "Delete". This happens on a "Ready" image. Resolves openbmc/openbmc#2964 Tested: See both "Activate" and "Delete" on a "Ready" image. Change-Id: I1a91ed83f2f99983795baea9f59bbc0dd4749c0e Signed-off-by: Gunnar Mills --- app/common/directives/firmware-list.html | 4 ++-- app/configuration/styles/firmware.scss | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/common/directives/firmware-list.html b/app/common/directives/firmware-list.html index 2856eaa..375b63c 100644 --- a/app/common/directives/firmware-list.html +++ b/app/common/directives/firmware-list.html @@ -15,7 +15,7 @@
Version
-
+
Action
@@ -55,7 +55,7 @@
Extended version information

{{version.title}}: {{version.version}}

-
+
Action: diff --git a/app/configuration/styles/firmware.scss b/app/configuration/styles/firmware.scss index 1c50dc0..d1b0114 100644 --- a/app/configuration/styles/firmware.scss +++ b/app/configuration/styles/firmware.scss @@ -59,6 +59,10 @@ flex: 30%; } +.firmware__action { + flex: 8%; +} + .firmware__active-version { color: $medblue; font-size: .8em; @@ -138,4 +142,4 @@ .firmware__upload-tftp { padding-top: 2em; padding-left: 1em; -} \ No newline at end of file +} -- cgit v1.2.1