enh: allow new lines in default prompts

This commit is contained in:
Timothy J. Baek 2024-09-14 23:17:58 +01:00
parent d0df2cbe53
commit fa8d7bd9c6

View File

@ -307,9 +307,10 @@
/> />
</div> </div>
<input <textarea
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r border-gray-100 dark:border-gray-800" class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r border-gray-100 dark:border-gray-800 resize-none"
placeholder={$i18n.t('Prompt (e.g. Tell me a fun fact about the Roman Empire)')} placeholder={$i18n.t('Prompt (e.g. Tell me a fun fact about the Roman Empire)')}
rows="3"
bind:value={prompt.content} bind:value={prompt.content}
/> />
</div> </div>