Erik_
Looks like it's just a missing class in the custom CSS
Wed Jul 05, 2023 10:57pm
So it's doing like you said, the default behavior of wrapping on white space.
I remember I ran into this issue on the built-in CSS choices where the preview text or body text would overflow in some cases.
I ended up doing this for previews:
DIV.first_message {
font-size: 75%;
width: 80%;
text-align: left;
margin-left: 1em;
margin-bottom: 1em;
word-break: normal;
overflow-wrap: anywhere;
}
And this for messages like the 'g' one:
DIV.message_text {
margin: 1em;
word-break: normal;
overflow-wrap: anywhere;
}
I guess I'll add that to the NEMB custom CSS and see if it fixes it.
It probably just breaks on white space
-
Puckdropper,
Wed Jul 05 2023 4:57pm
It's a pretty easy and reliable way to word wrap.
Looks like it's just a missing class in the custom CSS-
Erik_,
Wed Jul 05 2023 10:57pm
*Yep. That fixed it. (nm)
-
Erik_,
Wed Jul 05 2023 11:26pm
is the overflow-wrap the important property?
-
Puckdropper,
Sat Aug 05 2023 4:08am
Or does CSS also need the word-break property too?
overflow-wrap is the important one.
-
Erik_,
Sun Aug 06 2023 1:21pm
The word break doesn't appear to do anything but I forget CSS stuff constantly so it's there in case I ever want to change it without having to look up things again.
I bet overflow-wrap handles the "{g}*2000" string while the
-
Puckdropper,
Fri Aug 25 2023 5:56am
word break would handle words that have whitespace to wrap on. Good place to leave a comment... tell yourself why you need the thing.
/* Removing this breaks everything. DO. NOT. TOUCH. */ (nm)
-
Erik_,
Wed Aug 30 2023 10:17am
And this comment is Python (tm) Enabled(r)
-
Puckdropper,
Wed Aug 30 2023 4:59pm
So don't even adjust the white space!
Click here to receive daily updates
"Forces act when not restrained"
- Puckdropper