From a5a75a0b5f9f4aefffc5a471f81dfe998fbd3cfd Mon Sep 17 00:00:00 2001 From: Romain Estievenart Date: Mon, 3 Oct 2022 14:09:57 +0000 Subject: [PATCH] [FIX] web: restore min-height on form view note-editable This commit restores the behavior we had before wowl : - Having a min-height of 180px when the node-editable is a child field (without a parent form group). e.g: open the form view of a `crm.lead` inside the `crm` app. - No min-height added when the note-editable is inside a form-group e.g: the condition & terms inside the form view of a `sale.order` inside the `sale` app. X-original-commit: 294e8b8ad3efca2211cff61992b3cd07493eb1bb Part-of: odoo/odoo#102205 --- addons/web/static/src/views/form/form_controller.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index 015d7840915..8042f8ef675 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -494,6 +494,9 @@ > .tab-pane { padding: $o-horizontal-padding 0; + > .o_field_html > .note-editable { + min-height: 180px; + } > :first-child { // Reset margin to 0 and use tab-pane's padding // to define the distance between panel and content