36

I read this answer to hide the nav bar: How do I hide the left navigation sidebar?

Which I have done, but now it just leaves a huge white gap:

Enter image description here

Just so everybody knows I wanted to remove the scrollbars on the code block.

16
  • 23
    But the nav bar is gone, right?
    – Jongware
    Nov 19, 2018 at 15:42
  • 5
    CSS injection....Stylish here we come!
    – Paulie_D
    Nov 19, 2018 at 15:43
  • 2
    @usr2564301 yes it is, but it didn't actually achieve my goal of making the central panel larger
    – WendyG
    Nov 19, 2018 at 15:45
  • 3
    AFAIK, SE never intends the main area to extend beyond approx. 660px for precise formatting purpose...
    – Andrew T.
    Nov 19, 2018 at 15:54
  • 46
    That's why you have to be specific when you make a wish to a genie. Nov 19, 2018 at 15:59
  • 15
    Use a smaller monitor
    – Kevin B
    Nov 19, 2018 at 19:11
  • 8
    I'd much rather have that whitespace than have to try and read a long paragraph of text as one line across my monitor, but I guess that's me... Nov 19, 2018 at 21:44
  • 19
    I'd much rather not have to horizontally scroll code blocks, but I guess that's just me. Nov 19, 2018 at 22:54
  • @HereticMonkey as Roddy says I was wanting to read a code block with long lines
    – WendyG
    Nov 20, 2018 at 10:04
  • It seems you only need to change the max-width of two elements, but don't ask me how to turn that into a userscript. Nov 20, 2018 at 12:49
  • @Paulie_D Just be sure to be using version 2 and not version 3 of stylish (because it turned into spyware). Nov 20, 2018 at 14:18
  • Hit Ctrl + to zoom and consume more space.
    – GolezTrol
    Nov 20, 2018 at 14:19
  • 1
    @WendyG how big is your screen? Mine worked ok? Nov 21, 2018 at 10:34
  • @AndrewT. On inspection, width:auto; overrides the width:630px rule in the css....it's stricken through in my console .. Nov 21, 2018 at 10:52
  • @RachelGallen I'm basing on my observation before the unified design though.
    – Andrew T.
    Nov 21, 2018 at 10:56

2 Answers 2

7

You could check out my StackApp VisualCrumbs, it does this plus a few other visual changes to the site.

enter image description here

(Note: This works with Tampermonkey)

2

I personally like to use the greasemonkey add-on for injections and manipulation of this kind -although it is proprietary for mozilla..

And don't forget to use regex's to parse the html and put a little jquery into the soup ;)

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .