diff options
author | Linus Lee <linus@thesephist.com> | 2020-09-24 08:28:28 -0400 |
---|---|---|
committer | Linus Lee <linus@thesephist.com> | 2020-09-24 08:28:28 -0400 |
commit | e8549b783a1188319276b21f47402140b8c52fa1 (patch) | |
tree | 10396542a1ac0b3f158549b389cbb6fdcfa0ea3a /static/css | |
parent | 342fd2e8d671ce81588b599ec8f33eb50ba9665c (diff) | |
download | tabloid-fake-closure-e8549b783a1188319276b21f47402140b8c52fa1.tar.gz tabloid-fake-closure-e8549b783a1188319276b21f47402140b8c52fa1.zip |
Fix bug in Safari causing textarea to behave weirdly with white-space: nowrap vs pre-wrap
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/main.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/css/main.css b/static/css/main.css index bb2bbc2..1a02bca 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -158,13 +158,14 @@ textarea.editor-input { font-family: var(--ff-mono); font-size: 1em; line-height: 1.3em; + margin: 0; padding: .5em 1em; border: 0; width: 100%; box-sizing: border-box; overflow-y: auto; resize: none; - white-space: nowrap; + white-space: pre-wrap; } textarea.editor-input { |