Commit 9322c596 authored by evazion's avatar evazion

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.
parent 327bc46b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment