This commit is contained in:
Timothy J. Baek
2024-06-17 01:42:04 -07:00
parent 49fdb68908
commit 9023a60d0d
5 changed files with 22 additions and 6 deletions

View File

@@ -1332,7 +1332,7 @@
/>
<div
class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white to-white/90 dark:from-gray-900 dark:to-[#171717]/90 z-0 -translate-y-[78px]"
class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white to-white/90 dark:from-gray-900 dark:to-[#171717]/90 z-0"
/>
{/if}
@@ -1415,6 +1415,7 @@
}
return a;
}, [])}
transparentBackground={$settings?.backgroundImageUrl ?? false}
{selectedModels}
{messages}
{submitPrompt}

View File

@@ -35,6 +35,8 @@
const i18n = getContext('i18n');
export let transparentBackground = false;
export let submitPrompt: Function;
export let stopResponse: Function;
@@ -391,7 +393,7 @@
</div>
</div>
<div class="bg-white dark:bg-gray-900">
<div class="{transparentBackground ? 'bg-transparent' : 'bg-white dark:bg-gray-900'} ">
<div class="max-w-6xl px-2.5 md:px-6 mx-auto inset-x-0">
<div class=" pb-2">
<input

View File

@@ -7,11 +7,11 @@
const dispatch = createEventDispatcher();
export let title = ($i18n.t('Confirm your action'));
export let message = ($i18n.t('This action cannot be undone. Do you wish to continue?'));
export let title = $i18n.t('Confirm your action');
export let message = $i18n.t('This action cannot be undone. Do you wish to continue?');
export let cancelLabel = ($i18n.t('Cancel'));
export let confirmLabel = ($i18n.t('Confirm'));
export let cancelLabel = $i18n.t('Cancel');
export let confirmLabel = $i18n.t('Confirm');
export let show = false;
let modalElement = null;