Skip to content

Commit 12aa51c

Browse files
committed
fix: disable experimental rounded view for macOS and adjust workspace indicator styling
1 parent f755ed9 commit 12aa51c

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

src/browser/app/profile/zen-browser.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ pref('zen.view.compact.toolbar-hide-after-hover.duration', 1000);
108108
pref('zen.view.compact.color-toolbar', true);
109109
pref('zen.view.compact.color-sidebar', true);
110110

111+
#ifdef XP_MACOSX
112+
// Disable for macos in the meantime until @HarryHeres finds a solution for hight DPI screens
113+
pref('zen.view.experimental-rounded-view', false);
114+
#else
115+
pref('zen.view.experimental-rounded-view', true);
116+
#endif
117+
111118
pref('zen.glance.enabled', true);
112119
pref('zen.glance.hold-duration', 300); // in ms
113120

src/browser/base/content/zen-styles/zen-browser-container.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
:root[zen-no-padding='true'] &:not([zen-split="true"]) {
2020
border-radius: 0 !important;
2121
}
22+
23+
@media (-moz-bool-pref: 'zen.view.experimental-rounded-view') {
24+
#tabbrowser-tabpanels {
25+
mix-blend-mode: multiply;
26+
-moz-osx-font-smoothing: grayscale;
27+
isolation: isolate;
28+
}
29+
}
2230
}
2331
}

src/browser/base/content/zen-styles/zen-workspaces.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
}
424424

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

0 commit comments

Comments
 (0)