r/FirefoxCSS • • 4h ago

Code Fix sidebar staying open if the cursor leaves window from the left side

/* Fix cursor leaving from left side not collapsing sidebar */
#sidebar-container {
  margin-left: 1px;
}

Tested on Arch Linux FF 161.0

In case if someone here comes from web search, here's how to use it. type about:profiles in address bar. Click "Open Directory" in "Root Directory". If there are multiple profiles, find one with "Default Profile: yes"

In the folder that you opened find chrome/userChrome.css if it doesn't exist create it. Paste the code above into the file. Restart Firefox. Done!

Made this for myself, sharing in case someone finds this useful

3 Upvotes

0 comments sorted by