From fe69189dc9ed5fc08931ec304036a63a34877013 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 4 Jun 2025 02:36:31 +0400 Subject: [PATCH] refac: styling --- src/lib/components/chat/Chat.svelte | 2 +- src/lib/components/chat/MessageInput.svelte | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index ab7e41f6b..39dea3337 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2085,7 +2085,7 @@ -
+
+ 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}
{ // check if selectedModels support image input dispatch('submit', prompt); @@ -1520,6 +1523,14 @@
+ + {#if $config?.license_metadata?.input_footer} +
+ {@html DOMPurify.sanitize($config?.license_metadata?.input_footer)} +
+ {:else} +
+ {/if} {/if}