From ecc3bb7647bde73cc34ea827be08ce6f8f13e375 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 22 Dec 2014 15:07:15 +0100 Subject: [PATCH] [FIX]: y-truncated username in usermenu --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 52c5a73ecd1..17f07c9cbb9 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -68,10 +68,10 @@ .navbar .oe_topbar_name { max-width: 150px; display: inline-block; - height: 15px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; + vertical-align: middle; } .openerp { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 740c0b6c01e..f36f25b5181 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -186,10 +186,10 @@ $sheet-padding: 16px .oe_topbar_name max-width: 150px display: inline-block - height: 15px // Customize to manage caret when topbar_name is over sized. text-overflow: ellipsis white-space: nowrap overflow: hidden // Customize to bring ellipsis when topbar_name is over sized. + vertical-align: middle // }}} .openerp