aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932017-04-13 15:44:17 +0100
committermrmr19932017-04-13 15:50:27 +0100
commit9be3050051267fe993036f4e1c115559661cdcac (patch)
tree112553d938a7d83f7f0eb1583aa13e4d9a5f4f92
parent8cee2f6e710edd8f4e9afb981e44bacfd8d97ac0 (diff)
downloadvimium-9be3050051267fe993036f4e1c115559661cdcac.tar.bz2
Use white-space: pre; for options page inputs
For textareas, we still want line breaks, otherwise we would use an input. Chrome (incorrectly) renders newlines in `white-space: nowrap` as line breaks; however, firefox collapses the newlines into horizontal whitespace. `white-space: pre` is spec'd as intended, and works correctly in Chrome and FF.
-rw-r--r--pages/options.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/options.css b/pages/options.css
index 490ae164..3cf40d71 100644
--- a/pages/options.css
+++ b/pages/options.css
@@ -115,7 +115,7 @@ input#scrollStepSize {
textarea#userDefinedLinkHintCss, textarea#keyMappings, textarea#searchEngines {
width: 100%;;
min-height: 140px;
- white-space: nowrap;
+ white-space: pre;
}
input#previousPatterns, input#nextPatterns {
width: 100%;