5 ms·
The issue is caused by the CNYoungerCousin(and so on) article title being 80-100 characters long without having a space in it. There’s no way to word wrap it an
by quickthrowman 5y ago
The issue is caused by the CNYoungerCousin(and so on) article title being 80-100 characters long without having a space in it. There’s no way to word wrap it and it breaks the style sheet.
If you browse HN /new with showdead enabled, there are often spam article titles where the spaces are replaced with ‘+’ and a long enough title without spaces will break the style sheet in the same way, which is how I found out about it and also how to fix it.
The solution is to click ‘hide’ on the offending article title and everything will word wrap correctly again.
- krapp 5y ago>There’s no way to word wrap it and it breaks the style sheet. I wonder, would using the word-break css property not work[0]? Or barring that, a max-width for the title with a text-overflow set to hidden? [0]https://developer.mozilla.org/en-US/docs/Web/CSS/word-break https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
- quickthrowman 5y agoBoth of those were suggested in the offending thread, and both would indeed work. My phrasing was bad, “HN’s default style sheet doesn’t word wrap extremely long titles properly” is more accurate.
- tkgally 5y agoThanks! I was having the same problem, on both iPhone and iPad Safari. Hiding the CNYoungerCousin... article fixed the problem immediately.