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:
evazion
2020-02-05 16:49:04 -06:00
parent 327bc46bd2
commit 9322c596e2
2 changed files with 3 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
div.prose {
line-height: 1.4em;
word-break: break-word;
h1, h2, h3 {
line-height: 1em;

View File

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