mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
refac: styling
This commit is contained in:
parent
1157b8e12d
commit
595ebd11ac
@ -15,7 +15,7 @@
|
|||||||
{#each prompts as prompt, promptIdx}
|
{#each prompts as prompt, promptIdx}
|
||||||
<div class="shrink-0">
|
<div class="shrink-0">
|
||||||
<button
|
<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={() => {
|
on:click={() => {
|
||||||
submitPrompt(prompt.content);
|
submitPrompt(prompt.content);
|
||||||
}}
|
}}
|
||||||
|
@ -291,6 +291,7 @@
|
|||||||
|
|
||||||
chatTextAreaElement.style.height = '';
|
chatTextAreaElement.style.height = '';
|
||||||
chatTextAreaElement.style.height = Math.min(chatTextAreaElement.scrollHeight, 200) + 'px';
|
chatTextAreaElement.style.height = Math.min(chatTextAreaElement.scrollHeight, 200) + 'px';
|
||||||
|
chatTextAreaElement.focus();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user