From 3b85ac912eb88041c957e4c002dd3f023c05435d Mon Sep 17 00:00:00 2001 From: KelTech Date: Thu, 16 Apr 2026 23:55:13 -0700 Subject: [PATCH] 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. --- src/zen/split-view/zen-split-group.inc.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zen/split-view/zen-split-group.inc.css b/src/zen/split-view/zen-split-group.inc.css index a5ab1d382..a153d165c 100644 --- a/src/zen/split-view/zen-split-group.inc.css +++ b/src/zen/split-view/zen-split-group.inc.css @@ -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);