forked from open-webui/open-webui
refac: styling
This commit is contained in:
parent
1157b8e12d
commit
595ebd11ac
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
{#each prompts as prompt, promptIdx}
|
||||
<div class="shrink-0">
|
||||
<button
|
||||
class="flex flex-1 shrink-0 w-60 justify-between h-full px-4 py-2.5 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-2xl transition group"
|
||||
class="flex flex-1 shrink-0 w-64 justify-between h-full px-5 py-3 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-3xl transition group"
|
||||
on:click={() => {
|
||||
submitPrompt(prompt.content);
|
||||
}}
|
||||
|
|
|
@ -291,6 +291,7 @@
|
|||
|
||||
chatTextAreaElement.style.height = '';
|
||||
chatTextAreaElement.style.height = Math.min(chatTextAreaElement.scrollHeight, 200) + 'px';
|
||||
chatTextAreaElement.focus();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue