Hacker News new | ask | show | jobs
by tristor 1222 days ago
There's a weird font-rendering bug on this site that causes the text in the code blocks to be unreadable unless you highlight it with your mouse. If you enable Javascript, it seems to fix it.

Not sure if the author is reading this thread, but it's something you may find worth investigating fixing.

1 comments

Works for me with JS disabled, unless the author fixed it in the two minutes since you posted your comment. Code blocks have:

    style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"
... in the HTML itself.
The bug still appears present for me:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0

Code blocks without JS: https://i.imgur.com/Tcq34IK.png

Code blocks without JS under highlight: https://i.imgur.com/Lbvk2LS.png

Code blocks with JS enabled: https://i.imgur.com/kDCW4Q0.png