logoalt Hacker News

pvillano • today at 7:18 PM • 1 reply • view on HN

https://bigwords.page/#smol!%20!%20!%20!%20!%20!%20!%20!%20!...!

You seem to have the same bug I had when I first implemented https://screaming.saej.in/

In Firefox, scrollWidth includes spaces that extend into the margin, so it's possible for text to fit perfectly on the screen, but scrollWidth > clientWidth. Fix here https://saej.in/posts/screaming/


Replies

SpeakingOfBrad • today at 8:45 PM

Thanks! Like a dummy, I never tested in anything but my own browser. I found a couple of other bugs as well that weren't obvious without Firefox.