Commit be74b355 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not split float/integer values on multilines

parent fee895ae
...@@ -1269,6 +1269,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1269,6 +1269,7 @@ div[data-gadget-scope='header'] .ui-header ul {
.floatfield input, .floatfield input,
.integerfield input { .integerfield input {
text-align: right; text-align: right;
white-space: nowrap;
} }
/********************************************** /**********************************************
* Listbox * Listbox
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>965.13224.57873.37870</string> </value> <value> <string>965.13250.38999.16264</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>1517479032.59</float> <float>1517480024.55</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -1487,6 +1487,9 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1487,6 +1487,9 @@ div[data-gadget-scope='header'] .ui-header {
.floatfield, .integerfield { .floatfield, .integerfield {
p, input { p, input {
text-align: right; text-align: right;
// Do not render float/integer on multiline
// as it make them unreadable
white-space: nowrap;
} }
} }
......
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