fix: Prevent textarea from being user resizeable
This commit is contained in:
parent
fe8a4f409a
commit
9b8baefc36
@ -66,9 +66,9 @@
|
|||||||
bind:value={msg}
|
bind:value={msg}
|
||||||
bind:this={textareaRef}
|
bind:this={textareaRef}
|
||||||
use:autoResize
|
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
|
class="flex h-10 min-h-10 w-full resize-none rounded-md border border-input bg-transparent px-3 py-2 text-sm
|
||||||
placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring
|
shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1
|
||||||
disabled:cursor-not-allowed disabled:opacity-50"></textarea>
|
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 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>
|
<button type="submit" bind:this={submitRef} class="hidden">submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user