[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)
This commit is contained in:
Géry Debongnie
2014-12-04 14:11:56 +01:00
parent b1e9363b66
commit 290055e6d4
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -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;
}
+2
View File
@@ -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
+1 -1
View File
@@ -482,7 +482,7 @@
<div class="oe-view-manager-search-view col-md-6" />
</div>
<div class="row">
<div class="col-md-6">
<div class="col-md-6 oe-button-column">
<div class="oe-view-manager-buttons">
<t t-foreach="widget.views" t-as="view">
<div t-attf-class="oe-#{view}-buttons"/>