Commit 7769aaeb authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Fix textarea new line CSS rendering

Firefox doesn't display new line with: white-space: normal
parent 1f1c1d61
...@@ -337,7 +337,7 @@ select:-moz-focusring { ...@@ -337,7 +337,7 @@ select:-moz-focusring {
} }
textarea { textarea {
word-wrap: break-word; word-wrap: break-word;
white-space: normal; white-space: pre-wrap;
vertical-align: top; vertical-align: top;
transition: height 0.2s ease-out; transition: height 0.2s ease-out;
} }
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>vincent</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>964.44237.61138.34884</string> </value> <value> <string>964.45640.391.48230</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>1515407011.06</float> <float>1515493697.25</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -440,7 +440,7 @@ select { ...@@ -440,7 +440,7 @@ select {
textarea { textarea {
word-wrap: break-word; word-wrap: break-word;
white-space: normal; white-space: pre-wrap;
// Fix inconsistent Textarea bottom margin in Firefox and Chrome // Fix inconsistent Textarea bottom margin in Firefox and Chrome
// http://stackoverflow.com/a/26904480 // http://stackoverflow.com/a/26904480
vertical-align: top; vertical-align: top;
......
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