Remix.run Logo
michaelcampbell 5 hours ago

Total tangent, but what vagary of HTML (or the Brave Browser, which I'm using here) causes words to be split in very odd places? The "inspect" devtools certainly didn't show anything unusual to me. (Edit: Chrome, MS Edge, and Firefox do the same thing. I also notice they're all links; wonder if that has something to do with it.)

https://i.imgur.com/HGa0i3m.png

werdnapk 5 hours ago | parent | next [-]

CSS on the <a> tags:

word-break: break-all;

5 hours ago | parent [-]
[deleted]
knallfrosch 4 hours ago | parent | prev | next [-]

It's an error in the site's CSS. CSS has way better methods, like splitting words correctly depending on the language and hyphenating it.

Although I can never remember the correct incantation, should be easy for LLMs.

fancy_pantser 5 hours ago | parent | prev | next [-]

CSS word-break property

rosstex 3 hours ago | parent | prev [-]

Ask Claude?