Code samples in TOTW limited to 61 character width
camillol opened this issue · 2 comments
camillol commented
See, for instance, https://abseil.io/tips/totw/1
The main text section is too narrow, and only fits 61 characters. You have to scroll horizontally to read the comments. The code blocks really should fit 80 characters, since all code in TOTW is going to be formatted for that width.
manshreck commented
Haven't quite fixed this issue, but am addressing it: removed margin from the left-most div (TOC), and changed code font within
tags to be a bit smaller. Fits 80-columns now provided that the window is appropriately sized. Still need to narrow the left-most div, which is getting sized based on the sticky-nav above.
manshreck commented
I've tested this out on all pages and we can now fit 80 characters