zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
19.8k stars 480 forks source link

Compact mode makes website's side contents unreachable #549

Closed mglsj closed 3 months ago

mglsj commented 3 months ago

What happened?

Compact mode triggers the sidebar to overlay over website content. But the trigger zone is so big that it covers the screen when trying to use a website's sidebar or any content on the sides.

If there is a fix, I was not able to find one. The sidebar trigger zone should be moved to the extreme corner

Reproducible?

Version

1.0.0-a.28

Severity impact

Medium

What platform are you seeing the problem on?

Windows

Relevant log output

No response

kLabz commented 3 months ago

As a workaround, adding styles for #navigator-toolbox:not([zen-user-show]):not(:hover) #titlebar in your userChrome.css should help you change its trigger zone.

For example:

@media (-moz-bool-pref: "zen.view.compact") {
  #navigator-toolbox:not([zen-user-show]):not(:hover) #titlebar {
    min-width: 4px !important;
  }
}
Moshyfawn commented 3 months ago

This is a duplicate of #520 and is fixed for the next release.