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.

fix(accounts): keep the submenu label and default ✓ on one line

enes3745dbfed9ab
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 23c447c68..8a6e30d0d 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -1762,6 +1762,16 @@ body,
position: absolute;
left: calc(100% - 4px);
top: -6px;
+ /* Absolutely positioned inside a ~menu-width row, shrink-to-fit would clamp the flyout to
+ the row's remaining width — size it to its content so long account labels don't wrap. */
+ width: max-content;
+ max-width: 320px;
+}
+.ctx-submenu .ctx-item {
+ /* Keep the label and its default ✓ on one line (labels ellipsize past max-width). */
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.ctx-sep {