1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 16:30:00 +02:00

Applied common fixes

This commit is contained in:
mr. m 2025-02-26 13:27:58 +01:00
parent dc1c166ac2
commit 6115bbabc8
No known key found for this signature in database
GPG key ID: 419302196C23B258
5 changed files with 45 additions and 18 deletions

View file

@ -1544,6 +1544,16 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
}
_makeSureEmptyTabIsLast() {
const emptyTab = this._emptyTab;
if (emptyTab) {
const container = this.activeWorkspaceStrip;
if (container) {
container.insertBefore(emptyTab, container.lastChild);
}
}
}
_updateMarginTopPinnedTabs(arrowscrollbox, pinnedContainer) {
if (arrowscrollbox) {
arrowscrollbox.style.marginTop = pinnedContainer.getBoundingClientRect().height + 'px';