atagen

malice

public
Star0
Watch0

Commit 65d921b38494

tarball

atagen <boss@atagen.co>2026-10-25 10:46 UTC

1 file changed+2-1
web: keep the composer overlay from widening the layout

The mention overlay copies the textarea's width, and the composer field's implicit grid column grew to fit it. After the window narrowed, the overlay held the old width and pushed the app sideways once the textarea took focus. A bounded column breaks that loop, and clipping the app shell stops focus from scrolling it horizontally.
Modified file: web/src/app.css+2 additions−1 deletions
@@ -203,7 +203,7 @@ input, textarea { font: inherit; }
203203 grid-template-columns: var(--rail-w) var(--side-w) minmax(0, 1fr) var(--thread-w) var(--members-w);
204204 grid-template-rows: auto minmax(0, 1fr) auto;
205205 height: 100dvh;
206- overflow: hidden;
206+ overflow: clip;
207207 transition: grid-template-columns var(--pane-ease);
208208 }
209209 .app.rail-folded { --rail-w: 0px; }
@@ -806,6 +806,7 @@ input, textarea { font: inherit; }
806806 flex: 1;
807807 min-width: 0;
808808 display: grid;
809+ grid-template-columns: minmax(0, 1fr);
809810 margin: 0 4px;
810811 background: var(--bg-soft);
811812 border: 1px solid var(--border);