fix: Define height to prevent CLS
This commit is contained in:
parent
359a2c38ba
commit
0322bc3857
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user