Skip to content

Commit 3b50010

Browse files
committed
Add overflow-hidden to <textarea>
1 parent 92f11da commit 3b50010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/InferencePlayground/InferencePlaygroundMessage.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{autofocus}
2222
bind:value={message.content}
2323
placeholder="Enter {message.role} message"
24-
class="resize-none rounded bg-transparent px-2 py-2.5 ring-gray-100 hover:resize-y hover:bg-white focus:resize-y focus:bg-white focus:ring group-hover/message:ring @2xl:px-3 dark:ring-gray-600 dark:hover:bg-gray-900 dark:focus:bg-gray-900"
24+
class="resize-none overflow-hidden rounded bg-transparent px-2 py-2.5 ring-gray-100 hover:resize-y hover:bg-white focus:resize-y focus:bg-white focus:ring group-hover/message:ring @2xl:px-3 dark:ring-gray-600 dark:hover:bg-gray-900 dark:focus:bg-gray-900"
2525
rows="1"
2626
on:input={() => {
2727
dispatch("input");

0 commit comments

Comments
 (0)