mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 19:31:52 +00:00
refac: styling
This commit is contained in:
parent
25157ca6ba
commit
fe69189dc9
@ -2085,7 +2085,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=" pb-[1rem]">
|
||||
<div class=" pb-2">
|
||||
<MessageInput
|
||||
{history}
|
||||
{taskIds}
|
||||
|
@ -1,5 +1,8 @@
|
||||
<script lang="ts">
|
||||
import DOMPurify from 'dompurify';
|
||||
|
||||
import { toast } from 'svelte-sonner';
|
||||
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { createPicker, getAuthToken } from '$lib/utils/google-drive-picker';
|
||||
import { pickAndDownloadFile } from '$lib/utils/onedrive-file-picker';
|
||||
@ -595,7 +598,7 @@
|
||||
/>
|
||||
{:else}
|
||||
<form
|
||||
class="w-full flex gap-1.5"
|
||||
class="w-full flex flex-col gap-1.5"
|
||||
on:submit|preventDefault={() => {
|
||||
// check if selectedModels support image input
|
||||
dispatch('submit', prompt);
|
||||
@ -1520,6 +1523,14 @@
|
||||
</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>
|
||||
{/if}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user