r/FirefoxCSS • u/ilia_21 • 3d 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
19
Upvotes
1
u/ilia_21 1d ago
edit: this might not help you if your mouse is leaving too fast. If thats the case: check by trying to leave slowly before proceeding. If it doesnt activate then go back to iserChrome.css and try to increase the value. Do not make it too big since it adds space on the left of your window
2
u/the_ebastler 2d ago
That is the default behavior in mine, userchrome is entirely disabled... I think they patched that exact issue a few versions ago, but I might be mistaking. I'm on 161 from the Microsoft Store.
1
u/KaleidoscopeStill123 2d ago
Thanks for sharing 👊🏼