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 <gmills@us.ibm.com>
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 @@
<div class="table__cell firmware__version">
Version
</div>
- <div class="table__cell">
+ <div class="table__cell firmware__action">
Action
</div>
</div>
@@ -55,7 +55,7 @@
<h5 class="bold">Extended version information</h5>
<p class="no-margin" ng-repeat="version in firmware.extended.versions">{{version.title}}: {{version.version}}</p>
</div>
- <div class="table__cell">
+ <div class="table__cell firmware__action">
<span class="table__cell-label">Action:</span>
<button class="firmware__action-link" ng-show="firmware.activationStatus == 'Ready'" ng-click="activate(firmware.imageId)">Activate</button>
<button class="firmware__action-link" ng-show="firmware.activationStatus != 'Functional'" ng-click="delete(firmware.imageId, firmware.Version)">Delete</button>