mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac: styling
This commit is contained in:
parent
25157ca6ba
commit
fe69189dc9
2 changed files with 13 additions and 2 deletions
|
|
@ -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 a new issue