From b0394d5c9df0a18b8f12572e60eb59cd92add0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 30 Aug 2026 21:21:40 +0200 Subject: [PATCH] Size the description input to its content, like the title Dropping flex-1 stops the textarea (and its underline) from stretching to fill the row width regardless of text length - now it hugs the actual content the same way the title input does. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WzyfRyA7h5rs5SCAahLAWd --- components/sessions/SessionDescriptionEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sessions/SessionDescriptionEditor.tsx b/components/sessions/SessionDescriptionEditor.tsx index c7b1655..fa824f5 100644 --- a/components/sessions/SessionDescriptionEditor.tsx +++ b/components/sessions/SessionDescriptionEditor.tsx @@ -60,7 +60,7 @@ export function SessionDescriptionEditor({ placeholder="Add a description..." aria-label="Session description" rows={1} - className="max-w-full min-w-0 flex-1 resize-none border-b-2 border-transparent bg-transparent text-sm text-muted-foreground outline-none transition-colors placeholder:text-muted-foreground/60 hover:border-b-border focus:border-b-foreground/40 focus:text-foreground sm:max-w-xl [field-sizing:content]" + className="max-w-full min-w-0 resize-none border-b-2 border-transparent bg-transparent text-sm text-muted-foreground outline-none transition-colors placeholder:text-muted-foreground/60 hover:border-b-border focus:border-b-foreground/40 focus:text-foreground sm:max-w-xl [field-sizing:content]" />