Fixed creating a new workspace in the new system

This commit is contained in:
mr. m
2025-02-12 10:58:53 +01:00
parent c4b4aa6287
commit 22cad83c8f
2 changed files with 3 additions and 3 deletions

View File

@@ -456,7 +456,7 @@
position: absolute; position: absolute;
max-height: var(--zen-workspace-indicator-height); max-height: var(--zen-workspace-indicator-height);
min-height: var(--zen-workspace-indicator-height); min-height: var(--zen-workspace-indicator-height);
gap: 5px; gap: 12px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
flex-direction: row !important; flex-direction: row !important;

View File

@@ -1703,9 +1703,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}; };
this._prepareNewWorkspace(window); this._prepareNewWorkspace(window);
const perifery = document.querySelector('#tabbrowser-arrowscrollbox-periphery[hidden]'); const perifery = document.querySelector('#tabbrowser-arrowscrollbox-periphery[hidden]');
preifery?.removeAttribute('hidden'); perifery?.removeAttribute('hidden');
this._createWorkspaceTabsSection(window, [], perifery); this._createWorkspaceTabsSection(window, [], perifery);
preifery.setAttribute('hidden', 'true'); perifery.setAttribute('hidden', 'true');
return window; return window;
} }