mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-20 12:01:27 +00:00
gh-13095: restore multi-select highlight for split-view tabs (gh-13292)
Fixes #13095.
The selector change in fe19b44 replaced the :has(multiselected) match
with [hasactivetab], which only fires when the active tab is inside the
split group. Multi-selecting tabs without the split tab in the initial
selection dropped the highlight.
Added the multiselected path back as a union so both cases get the
selected styling.
This commit is contained in:
@@ -104,7 +104,8 @@ tab-group[split-view-group] {
|
||||
}
|
||||
}
|
||||
|
||||
tab-group[split-view-group]:where([hasactivetab]) & {
|
||||
tab-group[split-view-group]:where([hasactivetab]) &,
|
||||
&:has(> tab:is([multiselected])) {
|
||||
background-color: var(--tab-selected-bgcolor);
|
||||
box-shadow: var(--tab-selected-shadow);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user