Long words in forum threads breaking the page

Joined
Mar 19, 2020
Messages
69
Srsly, that's one line CSS fix - just add
Code:
word-break: break-all
to td cells of forum posts, and users will be able to leave comments with LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG words to their heart's content words without pissing off anyone. Didn't see it in neither rejected nor planned features


Edit: Okay, scratch that, it breaks word-wrap, but anyway, I'm sure a bit of CSS magic should solve the problem

Edit: Edit:
Code:
table.table-md {
  table-layout: fixed
}

/* First table header */
th.d-md-table-cell {
  width: 120px;
  max-width: 200px;
 }

.table-md th, .table-md td {
  word-wrap: break-word
}
works fine
 
Why don't you get a proper modern browser?

I6SVm8F.png

LffheWj.png
 
@mgRdr
It's interesting that you propose "word-break: break-word" as a solution, considering that is already being used. Your browser just isn't supporting it properly.
 
@MrIncognito
It's interesting that you propose "word-break: break-word"
I don't though?

Anyways, my browser is indeed quite outdated. To be fair,
Code:
word-break: break-word
is deprecated, but whatever, gotta fix the problem on my end anyway. Thanks for opening my eyes and stuff
 

Users who are viewing this thread

Back
Top