Commit 4216fed1 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_xhtml_style: break long word in listbox

parent cf0d0d93
...@@ -48,6 +48,7 @@ div.field pre, div.pre div { ...@@ -48,6 +48,7 @@ div.field pre, div.pre div {
span.pre_wrap { span.pre_wrap {
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word;
} }
div.field pre, div.pre, span.pre { div.field pre, div.pre, span.pre {
font-family: monospace; font-family: monospace;
......
...@@ -366,6 +366,12 @@ table.listbox td { ...@@ -366,6 +366,12 @@ table.listbox td {
font-weight: normal; font-weight: normal;
} }
table.listbox th div,
table.listbox td div{
/* white-space: pre-wrap;*/
word-break: break-word;
}
body[dir="rtl"] table.listbox th, body[dir="rtl"] table.listbox th,
body[dir="rtl"] table.listbox td { body[dir="rtl"] table.listbox td {
text-align:right; text-align:right;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment