refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-06-04 02:36:31 +04:00
parent 25157ca6ba
commit fe69189dc9
2 changed files with 13 additions and 2 deletions

View File

@ -2085,7 +2085,7 @@
</div> </div>
</div> </div>
<div class=" pb-[1rem]"> <div class=" pb-2">
<MessageInput <MessageInput
{history} {history}
{taskIds} {taskIds}

View File

@ -1,5 +1,8 @@
<script lang="ts"> <script lang="ts">
import DOMPurify from 'dompurify';
import { toast } from 'svelte-sonner'; import { toast } from 'svelte-sonner';
import { v4 as uuidv4 } from 'uuid'; import { v4 as uuidv4 } from 'uuid';
import { createPicker, getAuthToken } from '$lib/utils/google-drive-picker'; import { createPicker, getAuthToken } from '$lib/utils/google-drive-picker';
import { pickAndDownloadFile } from '$lib/utils/onedrive-file-picker'; import { pickAndDownloadFile } from '$lib/utils/onedrive-file-picker';
@ -595,7 +598,7 @@
/> />
{:else} {:else}
<form <form
class="w-full flex gap-1.5" class="w-full flex flex-col gap-1.5"
on:submit|preventDefault={() => { on:submit|preventDefault={() => {
// check if selectedModels support image input // check if selectedModels support image input
dispatch('submit', prompt); dispatch('submit', prompt);
@ -1520,6 +1523,14 @@
</div> </div>
</div> </div>
</div> </div>
{#if $config?.license_metadata?.input_footer}
<div class=" text-xs text-gray-500 text-center line-clamp-1">
{@html DOMPurify.sanitize($config?.license_metadata?.input_footer)}
</div>
{:else}
<div class="mb-1" />
{/if}
</form> </form>
{/if} {/if}
</div> </div>