fix: Split views not selected still having the pending attribute, b=(no-bug), c=split-view, tabs

This commit is contained in:
mr. m
2025-04-17 00:36:43 +02:00
parent c671d1e389
commit e431170435
2 changed files with 3 additions and 2 deletions

View File

@@ -1379,6 +1379,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
}
const browser = tab.linkedBrowser.closest('.browserSidebarContainer');
if (active) {
tab.removeAttribute('pending');
browser.setAttribute('zen-split', 'true');
browser.addEventListener('dragstart', this.onBrowserDragStart);

View File

@@ -1122,7 +1122,7 @@
--zen-essential-bg-margin: 2px;
&::before {
background: light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
background: light-dark(rgba(255, 255, 255, 0.85), rgba(68, 64, 64, 0.85));
margin: var(--zen-essential-bg-margin);
border-radius: calc(var(--border-radius-medium) - var(--zen-essential-bg-margin));
position: absolute;
@@ -1134,7 +1134,7 @@
}
&[visuallyselected]:hover .tab-background::before {
background: light-dark(rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.45));
background: light-dark(rgba(255, 255, 255, 0.80), rgba(68, 64, 64, 0.75));
}
}
}