Skip to content

Commit

Permalink
Removed panel ui button for macos users
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Jan 26, 2025
1 parent cfa03fe commit 462f354
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/browser/app/profile/zen-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ pref('zen.glance.activation-method', 'alt'); // ctrl, alt, shift, none, hold
pref('zen.view.sidebar-height-throttle', 200); // in ms
pref('zen.view.sidebar-expanded.max-width', 500);

#ifdef XP_MACOSX
pref('zen.view.mac.show-three-dot-menu', false);
#endif
pref('zen.view.show-bottom-border', false);
pref('zen.view.use-single-toolbar', true);
pref('zen.view.sidebar-expanded', true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
height: var(--zen-toolbar-height);
}

@media (-moz-platform: macos) and (not (-moz-bool-pref: 'zen.view.mac.show-three-dot-menu')) {
&:not([customizing]) #PanelUI-button {
display: none;
}
}

& #zen-sidebar-top-buttons .toolbarbutton-1 {
& > .toolbarbutton-icon {
padding: 5px;
Expand Down

0 comments on commit 462f354

Please sign in to comment.