From 062ef13483ff4ee934d5bb28d178292174cc6daa Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Tue, 23 Aug 2022 12:10:44 +0000 Subject: [PATCH] [FIX] web: restore sizing for XXL Form View MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XXL Form View doesn't apply the right max-width (1320px instead of 1140px). This is due to the precedence of the selector for `.o_xxl_form_view` since https://github.com/odoo/odoo/pull/96627. Also this code block applies to both legacy an new FormView instead of only the new one. This commit fixes it by properly targetting the `.o_form_view` with the `.o_xxl_form_view` and restores the previous behavior. closes odoo/odoo#98686 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/views/form/form_controller.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index 98c35bcb36e..8474d9e2b83 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -779,7 +779,7 @@ $o-form-label-margin-right: 0px; } } -.o_xxl_form_view { +.o_form_view.o_xxl_form_view { flex-flow: row nowrap; .o_form_sheet_bg {