diff options
| author | mrmr1993 | 2017-04-13 15:44:17 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2017-04-13 15:50:27 +0100 | 
| commit | 9be3050051267fe993036f4e1c115559661cdcac (patch) | |
| tree | 112553d938a7d83f7f0eb1583aa13e4d9a5f4f92 | |
| parent | 8cee2f6e710edd8f4e9afb981e44bacfd8d97ac0 (diff) | |
| download | vimium-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.css | 2 | 
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%; | 
