Many times I enter code into SO questions and answers (obviously!) that is only a little bit longer than the threshold that will activate the right-side scroll bar.
This makes it rather annoying that you can't see all the code at a glance despite the fact that it fits inside the browser window just fine.
To get around this, I have been putting
lines in the middle of the code to ensure they're treated as independent code blocks but:
- it inserts an unnatural looking break in the code.
- it's a pain trying to find a good "break" point, especially if it's just one function that's two lines too long.
Is there a possibility that we could get some leeway on the scrollbar kicking in? Say, if it's only three lines too long, don't put up the scrollbar.
I'm not sure as to what calculations are done to activate this scrollbar so there may be a solution that's already available to me but unknown, in which case feel free to let me know.