I think the below error message box could have its width increased. Not sure if other errors suffer from the new compact CSS.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
That error message is pretty cramped, but a lot of it is because of the padding to the right (50 pixels for a box nearly 130 pixels wide).
In addition to making the message wider, it would be nice if the padding to the right was made uniform with the padding on the left, eg:
The example above is just the standard error message, with these differences:
div contains the error message markup.
<div class="error-popup error-popup-alert error-popup-dismissable" style="position: absolute; display: block;">
Based on my tests, when using a percentage for the width, the
div inherits the width from the
<table> containing the comments. Therefore, setting a width of 50% works well. The error message will always be half the width of the table containing the comments.
I set the width to 50% using Chrome. It's not immediately clear which class would need to be set:
Also, the inner
div containing the actual error message contains an inline style padding that might not be need. It's tough to say since I'm not sure where else this styling may be used.
<div class="error-message" style="padding-right: 50px;">