[Kimchi-devel] [PATCH] User action menu overflows when actions with names longer than a few chars are included

Hongliang Wang hlwang at linux.vnet.ibm.com
Tue Apr 22 02:25:36 UTC 2014


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 at 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 {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140422/33b10ee3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.png
Type: image/png
Size: 12412 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140422/33b10ee3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orig.png
Type: image/png
Size: 10405 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140422/33b10ee3/attachment-0001.png>


More information about the Kimchi-devel mailing list