Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

studio/frontend: grow chat composer to 16 rows and inset scrollbar (#5540)

Michael Hanb78fe45256e4
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 2c04538818e..e42696d06da 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -312,7 +312,7 @@ const Composer: FC<{ disabled?: boolean }> = ({ disabled }) => {
placeholder="Send a message..."
className="aui-composer-input composer-input"
minRows={1}
- maxRows={6}
+ maxRows={12}
autoFocus={!disabled}
disabled={disabled}
aria-label="Message input"
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index dd01b797cec..43f244d9ba5 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -806,7 +806,7 @@
}
.composer-input {
- @apply mb-1 min-h-12 w-full resize-none overflow-y-auto bg-transparent pl-5 pr-4 pt-2 pb-3 text-sm font-[450] outline-none placeholder:text-muted-foreground focus-visible:ring-0;
+ @apply mt-2 mb-1 mx-3 min-h-12 w-[calc(100%-1.5rem)] resize-none overflow-y-auto bg-transparent pl-5 pr-4 pt-2 pb-3 text-sm font-[450] outline-none placeholder:text-muted-foreground focus-visible:ring-0;
}
.composer-action-wrapper {