Commit 2572999b authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Only break work in listbox on mobile

Breaking word everywhere leads to a really ugly rendering
parent 5f5aed84
...@@ -164,7 +164,6 @@ body { ...@@ -164,7 +164,6 @@ body {
display: block; display: block;
color: #1F1F1F; color: #1F1F1F;
word-wrap: break-word; word-wrap: break-word;
word-break: break-word;
} }
body, body,
button, button,
...@@ -1337,6 +1336,7 @@ div[data-gadget-scope='erp5_searchfield'] button { ...@@ -1337,6 +1336,7 @@ div[data-gadget-scope='erp5_searchfield'] button {
.document_table table tbody tr th:first-child ~ td { .document_table table tbody tr th:first-child ~ td {
font-size: 0.8em; font-size: 0.8em;
display: inline; display: inline;
word-break: break-word;
} }
.document_table table tbody tr td:first-child ~ th a, .document_table table tbody tr td:first-child ~ th a,
.document_table table tbody tr th:first-child ~ th a, .document_table table tbody tr th:first-child ~ th a,
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.60702.420.63744</string> </value> <value> <string>961.60979.41143.53009</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1504771529.73</float> <float>1504787937.42</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -234,7 +234,6 @@ body { ...@@ -234,7 +234,6 @@ body {
color: @colorforeground; color: @colorforeground;
word-wrap: break-word; word-wrap: break-word;
word-break: break-word;
} }
body, button, input, textarea, select { body, button, input, textarea, select {
...@@ -1552,6 +1551,7 @@ div[data-gadget-scope='erp5_searchfield'] { ...@@ -1552,6 +1551,7 @@ div[data-gadget-scope='erp5_searchfield'] {
font-size: 0.8em; font-size: 0.8em;
// Cells must be next to the other and correctly aligned // Cells must be next to the other and correctly aligned
display: inline; display: inline;
word-break: break-word;
a { a {
pointer-events: none; pointer-events: none;
......
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