4 ms·
Looks like the formatting on the `pre` elements are slightly broken, this is what I see in Chrome: https://i.postimg.cc/4y8s8YZR/image.png https://i.postimg.cc/
by nightpool 5y ago
Looks like the formatting on the `pre` elements are slightly broken, this is what I see in Chrome: https://i.postimg.cc/4y8s8YZR/image.png https://i.postimg.cc/4y8s8YZR/image.png
My guess is that this is because you're using 'white-space: pre-wrap' as well as `width: min-content`—meaning that Chrome is wrapping your lines as much as possible to fit them into as small as a width as possible. You can fix this by overriding the default wordpress 'white-space: pre-wrap' styles with 'white-space: pre'.
A shame, because I enjoyed the article! A very interesting look into a part of the OpenSSH code I've always been curious about
- FuncTheory 5y agoHi there, author here. I'll take a look at those `pre` elements this weekend. I had no idea they were broken on chrome. In fact... it looks like they're borked on Firefox as well. Thanks for the heads up on how to fix it, Wordpress seems to have been playing around with my formatting recently (probably my poor newbie practices)! EDIT: That seems to have fixed it. Thanks for flagging it up, please let me know if it's still broken!
- quickthrowman 5y agoThanks for fixing it!