From e59c73ae53e8b7f0150ea98fbc42ed32ffc790f9 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Sun, 28 Sep 2025 21:52:50 +0200 Subject: [PATCH] fix: Fixed workspace icons resizing on overflow, b=closes #10596, c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 1 + src/zen/workspaces/zen-workspaces.css | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index 1fb1476c9..57d71c904 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -2996,6 +2996,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature { onWindowResize(event = undefined) { if (!(!event || event.target === window)) return; + gZenUIManager.updateTabsToolbar(); // Check if workspace icons overflow the parent container const parent = this.workspaceIcons; if (!parent || this._processingResize) { diff --git a/src/zen/workspaces/zen-workspaces.css b/src/zen/workspaces/zen-workspaces.css index da2e8116c..023c107ba 100644 --- a/src/zen/workspaces/zen-workspaces.css +++ b/src/zen/workspaces/zen-workspaces.css @@ -47,11 +47,7 @@ line-height: 0; &:is(img) { - padding: 6px; - - :root:not([zen-sidebar-expanded='true']) & { - padding: 10px; - } + width: 14px; } &[no-icon='true'] {