From 2ec1ec36764401bf52232d10e6cb741157dabae2 Mon Sep 17 00:00:00 2001 From: Andrew Thal <467872+athal7@users.noreply.github.com> Date: Sun, 1 Feb 2026 20:10:52 -0600 Subject: [PATCH] fix(app): mobile prompt input buttons overflow on narrow viewports - Use tighter gap spacing on mobile (gap-1 vs gap-2 on desktop) - Add shrink-0 to prevent buttons from compressing - Add min-w-0 to left section to allow proper flex shrinking - Hide text labels on mobile for model and thinking selectors - Remove absolute positioning from right button group Tested at 320px (iPhone SE) and 375px (iPhone) viewports. Fixes #11613 --- packages/app/src/components/prompt-input.tsx | 28 +++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 2b63b6f5fd3..f7192857184 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1922,7 +1922,7 @@ export const PromptInput: Component = (props) => {
-
+
@@ -1941,7 +1941,7 @@ export const PromptInput: Component = (props) => { options={local.agent.list().map((agent) => agent.name)} current={local.agent.current()?.name ?? ""} onSelect={local.agent.set} - class="capitalize" + class="capitalize shrink-0" variant="ghost" gutter={12} /> @@ -1957,13 +1957,15 @@ export const PromptInput: Component = (props) => { @@ -2040,7 +2050,7 @@ export const PromptInput: Component = (props) => {
-
+