fix: Prevent textarea from being user resizeable

This commit is contained in:
April Hall 2025-02-07 22:32:34 -05:00
parent fe8a4f409a
commit 9b8baefc36
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B

View File

@ -66,9 +66,9 @@
bind:value={msg}
bind:this={textareaRef}
use:autoResize
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
disabled:cursor-not-allowed disabled:opacity-50"></textarea>
class="flex h-10 min-h-10 w-full resize-none 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 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 type="submit" bind:this={submitRef} class="hidden">submit</button>
</form>