[FIX] web: adapt the form view to large screens
Prior to this commit, there was a spacing issue in large screens (eg. 4K screen), the form view wasn't large enough and this created a big gap between the form view and the chatter. This commit adapts the form view to large screens. task-3453381 Part of task-3326263 closes odoo/odoo#136454 X-original-commit: 1a995cad898283f6909506ba43d1692381b3d6ef Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -8,12 +8,9 @@
|
||||
--ChatterTopbar-padding-right: #{$o-horizontal-padding};
|
||||
|
||||
&.o-aside {
|
||||
--Chatter-max-width: #{$o-form-view-sheet-max-width};
|
||||
|
||||
flex-shrink: 0;
|
||||
flex-grow: 1;
|
||||
padding: map-get($spacers, 0);
|
||||
max-width: var(--Chatter-max-width);
|
||||
width: $o-mail-Chatter-minWidth;
|
||||
|
||||
.o-mail-Message.o-not-discussion {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
$o-sheet-vpadding: $o-spacer * 1.5 !default;
|
||||
|
||||
$o-form-renderer-max-width: 2600px !default;
|
||||
$o-form-view-sheet-max-width: 1534px !default;
|
||||
$o-form-picture-size: 90px !default;
|
||||
|
||||
@@ -212,6 +212,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_renderer {
|
||||
max-width: $o-form-renderer-max-width;
|
||||
}
|
||||
|
||||
// No sheet
|
||||
&.o_form_nosheet, .o_form_nosheet {
|
||||
// Since 16.3 the `o_form_nosheet` element acts as a sheet filling the
|
||||
|
||||
Reference in New Issue
Block a user