Merge pull request #15028 from Classic298/system-prompt-resizing

feat: System prompt input field resizable
This commit is contained in:
Tim Jaeryang Baek 2025-06-17 12:23:06 +04:00 committed by GitHub
commit 52cffef16e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<div class="" slot="content">
<textarea
bind:value={params.system}
class="w-full text-xs py-1.5 bg-transparent outline-hidden resize-none"
class="w-full text-xs py-1.5 bg-transparent outline-hidden resize-vertical"
rows="4"
placeholder={$i18n.t('Enter system prompt')}
/>

View File

@ -274,7 +274,7 @@
<div class=" my-2.5 text-sm font-medium">{$i18n.t('System Prompt')}</div>
<Textarea
bind:value={system}
className="w-full text-sm bg-white dark:text-gray-300 dark:bg-gray-900 outline-hidden resize-none"
className="w-full text-sm bg-white dark:text-gray-300 dark:bg-gray-900 outline-hidden resize-vertical"
rows="4"
placeholder={$i18n.t('Enter system prompt here')}
/>