Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
namrog84
· 3y ago · 0 comments
Why does this post not wrap properly on mobile? Anyone else?. Seems like others are working fine
Comments
[–]
h_o_o_t
3y ago
Sorry about that, it's desktop too and I have no idea why. I tried to force line breaks but to no avail.
If anyone knows how to fix I'd be grateful to know.
[–]
nixgeek
3y ago
Post the code into a Gist, and then link the Gist into your post.
[–]
h_o_o_t
3y ago
Thanks, taking a look now.
[–]
rjh29
3y ago
There is a large rule in the post with no whitespace so browsers won't break it up into multiple lines (by default)
[–]
akomtu
3y ago
td { word-wrap: anywhere } will fix it.