[FW][FIX] survey: fix long questions and sections

When having long questions or sections to display, prevent the questions table from overflowing
the form box.
Fixed globally with a css rule on the x2many list fields.

Task-3151054

closes odoo/odoo#112372

Forward-port-of: odoo/odoo#112168
Related: odoo/enterprise#36926
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Odoo's Mergebot
2023-02-10 09:11:58 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
@@ -33,7 +33,3 @@ table.o_section_and_note_list_view tr.o_data_row {
white-space: pre-wrap !important;
}
}
.o_field_section_and_note_one2many {
width: 100%;
}
@@ -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%;
}
}
}