[FIX] web: textarea of editable list above everything

When expanding a textarea of an editable list,
by putting a long description for instnace,
with multiple lines,
some elements were put above the textarea,
making the content partially hidden

opw-709894
Closes #16083
This commit is contained in:
Denis Ledoux 2017-04-03 17:23:29 +02:00
parent a1aada9f76
commit 759492167a
3 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,6 @@
/* Establish a stacking context on top of which the
payment_acquirers::before element can be positioned */
position: relative;
z-index: 0;
}

View File

@ -1886,6 +1886,7 @@
.openerp .oe_application .oe_form_sheetbg {
background: url(/web/static/src/img/form_sheetbg.png);
border-bottom: 1px solid #ddd;
z-index: 1;
}
.openerp .oe_application .oe_form_sheetbg .oe_subtotal_footer label {
font-weight: bold;
@ -2637,6 +2638,10 @@
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field input, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field select {
min-width: 0;
}
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field textarea.field_text {
position: relative;
z-index: 1;
}
.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_float.oe_readonly, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_view_integer.oe_readonly {
padding: 6px 0px 0px;
text-align: right;

View File

@ -1562,6 +1562,7 @@ $sheet-padding: 16px
.oe_form_sheetbg
background: url(/web/static/src/img/form_sheetbg.png)
border-bottom: 1px solid #ddd
z-index: 1
// Customize font weight according bootstrap3
.oe_subtotal_footer label
font-weight: bold
@ -2149,6 +2150,9 @@ $sheet-padding: 16px
margin: 0
input, textarea, select
min-width: 0
textarea.field_text
position: relative
z-index: 1
&.oe_form_field_float,&.oe_form_view_integer
&.oe_readonly
padding: 6px 0px 0px