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:
parent
b91edee61c
commit
2388b372ae
@ -341,13 +341,15 @@ h1{
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
#error-box, #error-message{
|
#error-box, #error-message{
|
||||||
white-space: pre-wrap;
|
|
||||||
background-color: var(--interface-color);
|
background-color: var(--interface-color);
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
#error-message{
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
#error-box > div, #error-box > p, #error-box > h1{
|
#error-box > div, #error-box > p, #error-box > h1{
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user