From: Géry Debongnie Date: Thu, 4 Dec 2014 13:11:56 +0000 (+0100) Subject: [FIX] web: fix view manager header height form view X-Git-Url: http://git.inspyration.org/?p=odoo%2Fodoo.git;a=commitdiff_plain;h=290055e6d42dbf153fca5f6dffb48b8d8d461c0b [FIX] web: fix view manager header height form view in form view, the header height was higher than in other views (4 extra pixels). This was caused by the floating buttons in .oe-view-manager-buttons. This commit forces the column to take exactly 30 px regardless of its content. (it is not a problem even if the content takes extra lines) --- diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 67c2b40..c573e5c 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1041,6 +1041,9 @@ -moz-user-select: none; user-select: none; } +.openerp .oe-view-manager-header .oe-button-column { + height: 30px; +} .openerp .oe-view-manager-header .dropdown-menu li { position: relative; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 2ada1c8..eeea472 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -908,6 +908,8 @@ $sheet-padding: 16px -webkit-user-select: none -moz-user-select: none user-select: none + .oe-button-column + height: 30px .dropdown-menu li position: relative diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 458d516..d37535c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -482,7 +482,7 @@
-
+