[FIX] web: restore sizing for XXL Form View

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) <adr@odoo.com>
This commit is contained in:
Pierre Paridans
2022-08-27 03:33:30 +02:00
parent 71fb845fb5
commit 062ef13483
@@ -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 {