diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-01-02 13:53:44 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-01-02 13:53:44 +0100 |
| commit | e11e108bfbd6261b9ab7ec919d58984cba9d168e (patch) | |
| tree | 54c971121a54c8618f78351b1c40704e1b5a3efa /addons/web/static/src/css/base.sass | |
| parent | ddc024b473afa484338818982f39c8d8ec086558 (diff) | |
[FIX] problem when a menu item is too long, fixed with css
lp bug: https://launchpad.net/bugs/1094274 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130102125344-eet63kr1z9llfx8a
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index fb546341d9a..5141d42a547 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1009,7 +1009,7 @@ $sheet-padding: 16px .oe_secondary_submenu padding: 2px 0 8px 0 margin: 0 - width: 100% + width: 220px display: inline-block li position: relative @@ -1033,6 +1033,12 @@ $sheet-padding: 16px text-shadow: 0 1px 1px rgba(0,0,0,0.2) @include radius(4px) @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2)) + .oe_menu_text + white-space: nowrap + overflow: hidden + display: inline-block + text-overflow: ellipsis + max-width: 85% .oe_menu_counter float: right text-shadow: 0 1px 1px rgba(0,0,0,0.2) |
