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.
This commit is contained in:
James Taylor 2020-10-28 18:41:17 -07:00
parent b91edee61c
commit 2388b372ae

View File

@ -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;