[FIX] sale: fix SO preview word break
Issue - Install eCommerce - Create a SO - Add a section - Add a note with big text - Customer Preview The word are not broken correctly Cause We added a break-all to prevent long URL/words overflow. Solution Use work-break: break-word which will break the word correctly. Use overflow-wrap/word-wrap (same usage but we need both to ensure browsers compatibility) which makes sure the long string will wrap and not bust out of the container OPW-2222814 closes odoo/odoo#49321 X-original-commit: 0754590abe1b84874aa2a685fea5cbf2569383e4 Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
This commit is contained in:
committed by
Nicolas Lempereur
parent
17b5476d54
commit
8ba5e135ef
@@ -12,7 +12,9 @@
|
||||
/* ---- Order page ---- */
|
||||
|
||||
.sale_tbody .o_line_note {
|
||||
word-break: break-all;
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.o_portal .sale_tbody .js_quantity_container {
|
||||
|
||||
Reference in New Issue
Block a user