mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 00:46:35 +00:00
fix: Split views not selected still having the pending attribute, b=(no-bug), c=split-view, tabs
This commit is contained in:
@@ -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);
|
||||
|
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user