fix: Define height to prevent CLS

This commit is contained in:
April Hall 2025-02-07 22:30:26 -05:00
parent 359a2c38ba
commit 0322bc3857
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B

View File

@ -66,7 +66,7 @@
bind:value={msg} bind:value={msg}
bind:this={textareaRef} bind:this={textareaRef}
use:autoResize use:autoResize
class="flex min-h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm class="flex h-10 min-h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm
placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring
disabled:cursor-not-allowed disabled:opacity-50"></textarea> disabled:cursor-not-allowed disabled:opacity-50"></textarea>
<Button class="h-full min-h-10 w-14" type="submit"><Send class="size-full" /></Button> <Button class="h-full min-h-10 w-14" type="submit"><Send class="size-full" /></Button>