[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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user