From 9be3050051267fe993036f4e1c115559661cdcac Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Thu, 13 Apr 2017 15:44:17 +0100 Subject: 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. --- pages/options.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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%; -- cgit v1.2.3