Jump to content

Over the past year ive been trying to find a solution for this. Ill have alot of windows/tabs up at one time and if the page or image is small enough I cant fit the window border to it. I get these black bars and the window will shrink no further horizontally. See here for example. That is the absolute minimum width any Firefox window will shrink to. How can I fix this so I can fit the window to the image regardless of its size?

Link to comment
https://linustechtips.com/topic/1340036-firefox-minmun-window-width/
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • In the url bar enter -> about:support
  • Profile Directory -> Open Directory
    • Go into your profile directory as shown on the support page, if it happened to open a directory above.
  • Create the Folder -> chrome
  • Create the File userChrome.css inside the chrome folder with the following content
    :root:not([chromehidden~="toolbar"]){
      min-width: 20px !important;
    }
  • Restart Firefox.

 

If it doesn't work

  • In the url bar enter -> about:config
  • Accept Risk
  • toolkit.legacyUserProfileCustomizations.stylesheets
    • Toggle True
  • Restart Firefox
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×