Forum posts linebreaks splitting up words :fixed: (kinda)

Supporter
Joined
Jan 26, 2018
Messages
349
Looks like lines that exceed the container width aren't broken on a word boundary... To my eyes it's kinda evident and I just noticed it (using Firefox for Android ATM BTW), so must be due a recent tweak in the code.
Probably just some CSS rule to revert, I expect.
 
Custom title
Staff
Developer
Joined
Jan 19, 2018
Messages
2,685
Yeah, it was added as a fallback for browsers that don't support proper word breaking. How old is your Firefox version? It should work fine, does for me.
 
Dex-chan lover
Joined
Jan 20, 2018
Messages
1,035
(There were some wrong ideas...)

Try "word-wrap: break-word" instead of "word-break: break-all" it only breaks long words that don't fit into container and I think it's what's requred here.
 
Supporter
Joined
Jan 26, 2018
Messages
349
How old is your Firefox version? It should work fine, does for me.
Firefox for Android 66.0.5, the version before the very latest one (Play Store says released on May 17). On Firefox 67.0 for desktop is working for me too.
At the moment I cannot update my tablet (wi-fi only, must be on home network), in a couple of hours I'll try and report back.
 
Supporter
Joined
Jan 26, 2018
Messages
349
Yup, after updating to 67.0 it's working also in Firefox mobile. Must've been a quirk of the 66.0.5 version, sorry for the false alarm orz
 
Group Leader
Joined
Dec 22, 2018
Messages
129
I have this issue with Firefox 66.0.3 on the desktop.

Edit: Upgraded to 66.0.5, still happening.

Edit: Upgraded to 67.0, and it's finally fixed.
 
Custom title
Staff
Developer
Joined
Jan 19, 2018
Messages
2,685
Dang, is break-word really that new? I didn't even check.

Might have to reconsider using it. The main reason I went with the easy route here instead of making some more robust changes is because these damn forums have been written with table elements which really isn't making it easy to control with css.
 
Dex-chan lover
Joined
Jun 17, 2018
Messages
3,346
I'm using Waterfox 56.2.9, same problem.
BzzBzz's suggestion seems to be working for me.
 
Dex-chan lover
Joined
Jan 17, 2018
Messages
1,356
Nobody cares, but:
MS Edge on 1809: doesn't work.

I'm still waiting for 1903. Will write back once it's done. Knowing Microsoft, that could be 2 months from now, and I'm definitely not going to put in the extra effort to get the update early. Not after 1809 wiped out all my document, pictures, videos, music, etc.

Edit:
1903, still doesn't work on Edge.
 
Custom title
Staff
Developer
Joined
Jan 19, 2018
Messages
2,685
Well,
Code:
break-word
is still in but the
Code:
break-all
fallback is now removed. Browsers that don't support
Code:
break-word
return to not properly breaking very long words, but I suppose it's better that way.
 

Users who are viewing this thread

Top