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(confirm): keep the confirm dialog within the viewport for long messages

nean24d71fbeeb17ce
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index cbb46196c..186f80118 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -3575,8 +3575,13 @@ body,
}
.confirm {
- width: 320px;
+ width: 420px;
max-width: 90vw;
+ /* Cap the height so a long message (e.g. an agent control-write preview) can
+ never grow the box past the viewport — the message area scrolls instead. */
+ max-height: 85vh;
+ display: flex;
+ flex-direction: column;
background: rgba(40, 40, 42, 0.99);
border: 1px solid var(--border);
border-radius: 14px;
@@ -3893,6 +3898,11 @@ body,
.confirm__msg {
margin: 0 0 16px;
+ /* The scrollable region once the box hits its max-height, so the action buttons
+ below stay on-screen instead of being pushed past the viewport. */
+ flex: 1 1 auto;
+ min-height: 0;
+ overflow-y: auto;
font-size: 13px;
line-height: 1.5;
color: var(--text);