[FIX] web: fix x2many list overflow

Purpose
=======
Prevent the x2many list tables in notebook
pages to overflow when having long chars in
the cells or sections.

Specifications
==============
Because of the display inline-block css rule
applied to the x2many field widgets, the table
of the x2many list (in the notebook pages) are
overflowing from the box when having long char
in the cells or sections.

Setting width 100% to the x2many field fixes
the overflow behavior. Long chars are hidden
with ellipsis or wrapped and displayed to a
new line depending on the display.

Task-3151054

X-original-commit: 2cd0106e63785dd34553c2b4747d72b93b9a7afd
Part-of: odoo/odoo#112372
This commit is contained in:
amdi-odoo
2023-02-10 09:11:57 +01:00
parent 50aaf73eea
commit 79fe1333a0
@@ -589,6 +589,10 @@
}
}
}
// Prevent table overflow when having long chars in x2many list
.o_field_widget:has(.o_field_x2many.o_field_x2many_list) {
width: 100%;
}
}
}