fix: Fixed using scrollbar on tabs moves the window around, b=closes #9699, c=common, compact-mode, folders, tabs, workspaces

This commit is contained in:
Mr. M
2025-09-03 18:35:38 +02:00
parent 2f6021b0aa
commit e0a750e253
12 changed files with 88 additions and 48 deletions

View File

@@ -27,6 +27,7 @@
</hbox>
</vbox>
</arrowscrollbox>
<vbox class="zen-workspace-empty-space" flex="1" />
`;
}

View File

@@ -926,6 +926,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
await this.initializeTabsStripSections();
this._initializeEmptyTab();
await gZenPinnedTabManager.refreshPinnedTabs({ init: true });
this._invalidateBookmarkContainers();
await this.changeWorkspace(activeWorkspace, { onInit: true });
this.#fixTabPositions();
this.onWindowResize();

View File

@@ -317,14 +317,13 @@ zen-workspace {
opacity: 1;
}
}
&,
& .zen-workspace-normal-tabs-section {
height: 100%;
}
}
}
.zen-workspace-empty-space {
-moz-window-dragging: drag;
}
/** Customiable UI, this is an auto generated ID */
#wrapper-zen-workspaces-button {
width: 100%;