Skip to content

Commit 0ded78e

Browse files
committed
fix: Fixed all tabs button appearing on the sidebar, b=(no-bug), c=common, tabs
1 parent c2d484a commit 0ded78e

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

src/zen/common/ZenUIManager.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var gZenUIManager = {
7171
);
7272
gZenVerticalTabsManager.actualWindowButtons.removeAttribute('zen-has-hover');
7373
gZenVerticalTabsManager.recalculateURLBarHeight();
74-
setTimeout(gURLBar.formatValue.bind(gURLBar), 0);
74+
setTimeout(gURLBar.formatValue.bind(gURLBar), 350);
7575
if (!this._preventToolbarRebuild) {
7676
setTimeout(() => {
7777
ZenWorkspaces.updateTabsContainers();

src/zen/common/styles/zen-browser-ui.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,7 @@
255255
opacity: 1;
256256
}
257257
}
258+
259+
:root:not([customizing]) #TabsToolbar-customization-target > #alltabs-button {
260+
display: none;
261+
}

src/zen/common/styles/zen-urlbar.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030

3131
--urlbar-margin-inline: 5px;
3232
--urlbar-container-padding: 5px;
33+
:root[zen-single-toolbar='true'] {
34+
--urlbar-container-padding: 4px;
35+
}
3336
}
3437

3538
:root:not([zen-single-toolbar='true']) #urlbar:not([zen-floating-urlbar='true']) {

src/zen/tabs/zen-tabs/vertical-tabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
Tabs Toolbar Customization Target
212212
========================================================================== */
213213
#TabsToolbar-customization-target {
214-
position: relative; /* For pseudo-element positioning */
214+
position: relative;
215215
max-width: 100%;
216216
gap: 0; /* Remove default gap */
217217

0 commit comments

Comments
 (0)