From 2388b372aefaa6ff0ad4e8c6f29173ccf7b1ed56 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 28 Oct 2020 18:41:17 -0700 Subject: 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. --- youtube/templates/shared.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'youtube/templates/shared.css') 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; -- cgit v1.2.3