summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-12-04 14:11:56 +0100
committerGéry Debongnie <ged@odoo.com>2014-12-04 14:11:56 +0100
commit290055e6d42dbf153fca5f6dffb48b8d8d461c0b (patch)
tree99d80b41a6c51f5fd46d1b0d872b4e029d2f3ecf /addons/web/static/src/css
parentb1e9363b6629d1f11a60f414dba0df105a21485f (diff)
[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)
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css3
-rw-r--r--addons/web/static/src/css/base.sass2
2 files changed, 5 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 67c2b4026b6..c573e5cb53a 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 2ada1c8d883..eeea472a5b0 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