mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 19:59:59 +02:00
Applied common fixes
This commit is contained in:
parent
dc1c166ac2
commit
6115bbabc8
5 changed files with 45 additions and 18 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue