diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-28 18:41:17 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-28 18:41:17 -0700 |
commit | 2388b372aefaa6ff0ad4e8c6f29173ccf7b1ed56 (patch) | |
tree | b1f5a4cfeb4934ff269eb6ae8099da8e6b75c451 /youtube/templates/shared.css | |
parent | b91edee61c6e94164f4523c2897dd771871834bd (diff) | |
download | yt-local-2388b372aefaa6ff0ad4e8c6f29173ccf7b1ed56.tar.lz yt-local-2388b372aefaa6ff0ad4e8c6f29173ccf7b1ed56.tar.xz yt-local-2388b372aefaa6ff0ad4e8c6f29173ccf7b1ed56.zip |
error page: dont use newline wrapping on error-box
only should be used on error-message so newlines in error message
properly display. Should not be used on error-box because that
doesn't have bare text with newlines. Otherwise it was dispalying
extraneous newlines.
Diffstat (limited to 'youtube/templates/shared.css')
-rw-r--r-- | youtube/templates/shared.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube/templates/shared.css b/youtube/templates/shared.css index 3dd48ac..ee0ceec 100644 --- a/youtube/templates/shared.css +++ b/youtube/templates/shared.css @@ -341,13 +341,15 @@ h1{ font-weight: normal; } #error-box, #error-message{ - white-space: pre-wrap; background-color: var(--interface-color); width: 80%; margin: auto; margin-top: 20px; padding: 5px; } +#error-message{ + white-space: pre-wrap; +} #error-box > div, #error-box > p, #error-box > h1{ white-space: pre-wrap; margin-bottom: 10px; |