Skip to content

Commit 54df06e

Browse files
committed
fix(dashboards): let the chat composer grow past 140px before scrolling
140px cut off a realistic multi-line queued message (e.g. typed while a build is in progress) behind an internal scrollbar well before it filled the sidebar. Raised the cap to 280px so it keeps growing with the content instead.
1 parent 7192906 commit 54df06e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/sections/DashboardWorkspace.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default function DashboardWorkspace({ connectionId, dashboard, onClose })
218218
const el = inputRef.current
219219
if (!el) return
220220
el.style.height = 'auto'
221-
el.style.height = `${Math.min(el.scrollHeight, 140)}px`
221+
el.style.height = `${Math.min(el.scrollHeight, 280)}px`
222222
}, [input])
223223

224224
// Elapsed-time ticker so a 15-30s build reads as alive, not stuck. Reads the

src/components/sections/DashboardWorkspace.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
flex: 1;
557557
min-width: 0;
558558
min-height: 38px;
559-
max-height: 140px;
559+
max-height: 280px;
560560
padding: 9px 12px;
561561
border: 1px solid #e2e2e2;
562562
border-radius: 10px;

0 commit comments

Comments
 (0)