FWIW I intended it to expand and contract with the size of the menu contents. There is enough padding to keep it from looking weird, while avoiding future overflow/truncation problems by setting a specific width.


On 4/21/2014 10:25 PM, Hongliang Wang wrote:
It shrinks when applied this patch when there are short action items.



I suggest set a min-width for the action menu.

min-width: 120px; /* or some other value */
width: inherit; /* or width: auto; */

On 04/22/2014 03:59 AM, Adam King wrote:
Update the CSS so the user action menu will expand to accomodate longer action names

Signed-off-by: Adam King <rak@linux.vnet.ibm.com>
---
 ui/css/theme-default/topbar.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/css/theme-default/topbar.css b/ui/css/theme-default/topbar.css
index 7180cd5..b6f2fef 100644
--- a/ui/css/theme-default/topbar.css
+++ b/ui/css/theme-default/topbar.css
@@ -155,6 +155,7 @@
     color: black;
     padding: 12px 18px;
     white-space: nowrap;
+    width: inherit;
 }

 .user-menu-item {


-- 
Adam King <rak@linux.vnet.ibm.com>
IBM C&SI