You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code blocks do not render 88 chars without horizontal scrollbar #12945
I thought the intent was "make the content area wider and/or shrink the font so that 88 chars is visible without scrolling". @cbrnr can you confirm/clarify?
I mean, since we are using 88 characters in our codebase, I think our website should also support displaying 88 characters without scrolling. I'm not a fan of shrinking the font size since this will make the code harder to read, and I would prefer making our main area wider. Forcing a shorter line length for our documentation is also not a good option since we want to stay consistent with our source code.
Activity
hoechenberger commentedon Nov 5, 2024
I don't understand the intention here, how would I scroll if you remove the scrollbar? I have to scroll on my screen to uncover all of the code
hoechenberger commentedon Nov 5, 2024
Or are you suggesting enforcing shorter lines for code blocks?
drammock commentedon Nov 5, 2024
I thought the intent was "make the content area wider and/or shrink the font so that 88 chars is visible without scrolling". @cbrnr can you confirm/clarify?
cbrnr commentedon Nov 5, 2024
Yes, exactly what you're saying @drammock!
hoechenberger commentedon Nov 5, 2024
yeah but ... on my screen, you cannot make it any wider without hiding the navigation
slightly reducing the font size should be fine, but I'm not sure if this will free up enough space
cbrnr commentedon Nov 7, 2024
I mean, since we are using 88 characters in our codebase, I think our website should also support displaying 88 characters without scrolling. I'm not a fan of shrinking the font size since this will make the code harder to read, and I would prefer making our main area wider. Forcing a shorter line length for our documentation is also not a good option since we want to stay consistent with our source code.
cbrnr commentedon Nov 7, 2024
Maybe we can make one or both navigation panes a bit narrower so that the main area works with 88 chars in code blocks.