refac: styling

This commit is contained in:
Timothy J. Baek 2024-04-30 14:56:06 -07:00
parent 2674656b49
commit 18e5c2e4cb
5 changed files with 110 additions and 68 deletions

View file

@ -867,7 +867,10 @@
bind:history
bind:messages
bind:autoScroll
bind:prompt
bottomPadding={files.length > 0}
suggestionPrompts={selectedModelfile?.suggestionPrompts ??
$config.default_prompt_suggestions}
{sendPrompt}
{continueGeneration}
{regenerateResponse}
@ -875,14 +878,6 @@
</div>
</div>
<MessageInput
bind:files
bind:prompt
bind:autoScroll
suggestionPrompts={selectedModelfile?.suggestionPrompts ?? $config.default_prompt_suggestions}
{messages}
{submitPrompt}
{stopResponse}
/>
<MessageInput bind:files bind:prompt bind:autoScroll {messages} {submitPrompt} {stopResponse} />
</div>
</div>