fix: Fixed workspace icons resizing on overflow, b=closes #10596, c=workspaces

This commit is contained in:
mr. m
2025-09-28 21:52:50 +02:00
parent b0d0a79fc5
commit e59c73ae53
2 changed files with 2 additions and 5 deletions

View File

@@ -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) {

View File

@@ -47,11 +47,7 @@
line-height: 0;
&:is(img) {
padding: 6px;
:root:not([zen-sidebar-expanded='true']) & {
padding: 10px;
}
width: 14px;
}
&[no-icon='true'] {