fix(split-pane): hide the split container together with the rest of the terminal on a web tab

.main.webview-active hid .terminal-wrap when a web tab became active, but
.terminal-wrap is reparented INSIDE .terminal-split-container while a split
is open, so Pane B and the divider stayed stranded on screen over the
dashboard iframe. Hide the whole split container as one unit, mirroring the
existing .terminal-wrap rule; no state is destroyed, so returning to the
session tab shows the split intact.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
timkjr
2026-09-20 13:10:28 -05:00
co-authored by Claude Sonnet 5
parent 2724c922ce
commit f0e24d8ce2
+7
View File
@@ -15306,6 +15306,13 @@ html[data-skin="daylight-blue"] .welcome-btn-tunnel.active:hover {
}
.main.webview-active .webview-layer { display: flex; }
.main.webview-active .terminal-wrap { display: none; }
/* A split (Pane A + divider + Pane B) hides as one unit when a web tab is
active, mirroring the .terminal-wrap rule above — .terminal-wrap is
reparented INSIDE .terminal-split-container while a split is open, so
hiding only .terminal-wrap would leave Pane B and the divider stranded on
screen over the dashboard iframe. No state is destroyed, so returning to
the session tab shows the split intact. */
.main.webview-active .terminal-split-container { display: none; }
.webview-frame {
display: none;