Skip to content

Commit

Permalink
fix: disable experimental rounded view for macOS and adjust workspace…
Browse files Browse the repository at this point in the history
… indicator styling
  • Loading branch information
mr-cheff committed Dec 6, 2024
1 parent f755ed9 commit 12aa51c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/browser/app/profile/zen-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ pref('zen.view.compact.toolbar-hide-after-hover.duration', 1000);
pref('zen.view.compact.color-toolbar', true);
pref('zen.view.compact.color-sidebar', true);

#ifdef XP_MACOSX
// Disable for macos in the meantime until @HarryHeres finds a solution for hight DPI screens
pref('zen.view.experimental-rounded-view', false);
#else
pref('zen.view.experimental-rounded-view', true);
#endif

pref('zen.glance.enabled', true);
pref('zen.glance.hold-duration', 300); // in ms

Expand Down
8 changes: 8 additions & 0 deletions src/browser/base/content/zen-styles/zen-browser-container.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@
:root[zen-no-padding='true'] &:not([zen-split="true"]) {
border-radius: 0 !important;
}

@media (-moz-bool-pref: 'zen.view.experimental-rounded-view') {
#tabbrowser-tabpanels {
mix-blend-mode: multiply;
-moz-osx-font-smoothing: grayscale;
isolation: isolate;
}
}
}
}
2 changes: 1 addition & 1 deletion src/browser/base/content/zen-styles/zen-workspaces.css
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
}

& #zen-current-workspace-indicator-icon:not([hidden]) + #zen-current-workspace-indicator-name {
margin-left: 24px;
padding-left: 24px;
}
}

Expand Down

0 comments on commit 12aa51c

Please sign in to comment.