6 ms·
Sorry guys, didn't expect that to happen. @dang it can be fixed by adding `word-break: break-all;` to the `a` tag for .storylink class.
by busymom0 5y ago
Sorry guys, didn't expect that to happen.
@dang
it can be fixed by adding `word-break: break-all;`
to the `a` tag for .storylink class.
- kryogen1c 5y agomoderators dont typically monitor the comments for their name (although sometimes they do). if youd like to help, im sure theyd love to hear from you at hn@ycombinator.com
- busymom0 5y agoI might be wrong but I think dang does monitor his name. I have mentioned him a few times and he swings by. Maybe just coincidence. I did email him too.
- dang 5y agoIt was just coincidence :) - but I did just see your email.
- busymom0 5y agoAny idea why this post was flagged?
- dang 5y agoPossibly because it borked the layout, possibly because it's not necessarily a substantive post. This exact type of submission (long unbroken class name from some codebase somewhere) has been made a number of times in the past too—little is new!
- dang 5y agoOk, let's try that. Thanks for the suggestion! All: if it breaks anything, would you please let us know? (j/k you guys would never not let us know)
- busymom0 5y agoworks well for me so far!
- gorgoiler 5y agoMost titles now have unnecessary line breaks, in the middle of words. From the front page: “A world first: Ocean drone captures video f[break]rom inside a hurricane” “DMV approves Cruise and Waymo for com[break]mercial service in parts of Bay Area” “Facebook Thrives on Criticism of “Disinfor[break]mation”” (I’m using iOS Safari.)
- dang 5y agoAh yes. I knew we'd tried this before! Reverting...
- attheicearcade 5y agoYou want break-word, not break-all. The latter breaks short words unnecessarily.
- dang 5y agoOk, let's try that and see what it breaks :) Edit: done now. I can't shake the feeling that we've been through all this before, and that's why I ended up resorting to whitespace tricks in https://news.ycombinator.com/item?id=20352144 https://news.ycombinator.com/item?id=20352144. But let's wait and see what's broken now...
- attheicearcade 5y agoLGTM on iOS/Safari after clearing cache. Also on Firefox/Linux.
- DeRock 5y agoUnfortunately this still makes it a worse experience for "not crazy long" title words. Now it wraps all words if they hit the line break, eg. On the front page right now I see: Demo of a WAM Prolog Implementation in Py thon Which makes it harder to read. The previous behavior would write this like: Demo of a WAM Prolog Implementation in Python