From 759492167ad0664b4144184a315b3ade9994e30c Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 3 Apr 2017 17:23:29 +0200 Subject: [PATCH] [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 --- addons/portal/static/src/css/portal.css | 1 - addons/web/static/src/css/base.css | 5 +++++ addons/web/static/src/css/base.sass | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/addons/portal/static/src/css/portal.css b/addons/portal/static/src/css/portal.css index 5157b1a8027..8c9bdff52ae 100644 --- a/addons/portal/static/src/css/portal.css +++ b/addons/portal/static/src/css/portal.css @@ -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; } diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 62373f1f7d3..14392ce1d6b 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -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; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 40ace6829eb..c33fbb45c47 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -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