Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

refactor(ui): square tabs, and a side-only hairline on the active one

Bas Miliusb90aff7e9d9e
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 8756c16e7..c9c5aaa72 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -308,9 +308,6 @@ body,
align-items: center;
gap: 7px;
padding: 0 14px;
- /* Full height of the bar, with only the TOP corners rounded — the bottom edge is where the tab
- meets its own content. */
- border-radius: 10px 10px 0 0;
color: var(--muted);
font-size: 13px;
cursor: pointer;
@@ -334,16 +331,15 @@ body,
z-index: 1;
}
-/* A hairline around the tab's three outer edges, drawn as an inset shadow so it costs no layout
- and cannot round differently from the fill. Load-bearing in LIGHT, where `--canvas-bg` and
- `--panel` are one value apart and the fill alone would be invisible. */
+/* The two side hairlines that cut the tab out of the bar, drawn as an inset shadow so they cost
+ no layout. Sides ONLY: a top edge would draw a lid on a shape whose whole point is that it is
+ open into the canvas below. Load-bearing in LIGHT, where `--canvas-bg` and `--panel` are one
+ value apart and the fill alone would be invisible — hence in both themes, not just that one. */
.tab.active::after {
content: '';
position: absolute;
inset: 0;
- border-radius: inherit;
- box-shadow: inset 0 1px 0 var(--border), inset 1px 0 0 var(--border),
- inset -1px 0 0 var(--border);
+ box-shadow: inset 1px 0 0 var(--border), inset -1px 0 0 var(--border);
pointer-events: none;
}