[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:
-4
@@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user