Fix #4279: Very long tags break forum post format.
* Enable word breaks for all DText-formatted text. Ensures extremely long strings in comments get broken. * Fix the author column on comments/forum posts to use a fixed 12em width (except on the mobile layout). Using flex-basis was wrong because it allowed the author column to shrink if the other column was too wide.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
div.prose {
|
||||
line-height: 1.4em;
|
||||
word-break: break-word;
|
||||
|
||||
h1, h2, h3 {
|
||||
line-height: 1em;
|
||||
|
||||
@@ -12,9 +12,8 @@ div.list-of-messages {
|
||||
}
|
||||
|
||||
div.author {
|
||||
flex-basis: 12em;
|
||||
width: 12em;
|
||||
margin-right: 1em;
|
||||
min-width: 0;
|
||||
|
||||
a.message-timestamp {
|
||||
font-style: italic;
|
||||
@@ -40,6 +39,7 @@ div.list-of-messages {
|
||||
|
||||
div.author {
|
||||
margin: 0 0 1em;
|
||||
width: auto;
|
||||
|
||||
h4 {
|
||||
display: inline;
|
||||
|
||||
Reference in New Issue
Block a user