[FIX] web: FormView x2many in notebook shouldn't have padding
This commit adapts the x2many as first notebook tab's child selector to the DOM of its OWL implementation, restoring the correct padding in this case. Steps to reproduce: - Open Product form view - Select the Variants notebook's tab - Tab shouldn't have padding when the first child is a one2many closes odoo/odoo#100912 X-original-commit: 74875dcc0b84236c0911b117666fc6deb41ed432 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -633,8 +633,8 @@
|
||||
}
|
||||
|
||||
// Full width on first x2many or on second x2many if first is invisible
|
||||
&.o_field_x2many.o_field_x2many_list,
|
||||
&.o_field_widget.o_invisible_modifier + .o_field_x2many.o_field_x2many_list {
|
||||
.o_field_x2many.o_field_x2many_list,
|
||||
&.o_invisible_modifier + .o_field_widget .o_field_x2many.o_field_x2many_list {
|
||||
display: block;
|
||||
width: auto;
|
||||
@include o-form-sheet-negative-margin;
|
||||
|
||||
Reference in New Issue
Block a user