Spaces:
Running
Running
fix: modal max width
Browse files
src/lib/components/DisclaimerModal.svelte
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
const settings = useSettingsStore();
|
12 |
</script>
|
13 |
|
14 |
-
<Modal on:close width="max-w-[400px]">
|
15 |
<div
|
16 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-6 bg-gradient-to-b px-5 pb-8 pt-9 text-center sm:px-6"
|
17 |
>
|
|
|
11 |
const settings = useSettingsStore();
|
12 |
</script>
|
13 |
|
14 |
+
<Modal on:close width="!max-w-[400px]">
|
15 |
<div
|
16 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-6 bg-gradient-to-b px-5 pb-8 pt-9 text-center sm:px-6"
|
17 |
>
|
src/lib/components/LoginModal.svelte
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
const settings = useSettingsStore();
|
12 |
</script>
|
13 |
|
14 |
-
<Modal on:close width="max-w-[400px]">
|
15 |
<div
|
16 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-6 bg-gradient-to-b px-5 pb-8 pt-9 text-center"
|
17 |
>
|
|
|
11 |
const settings = useSettingsStore();
|
12 |
</script>
|
13 |
|
14 |
+
<Modal on:close width="!max-w-[400px]">
|
15 |
<div
|
16 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-6 bg-gradient-to-b px-5 pb-8 pt-9 text-center"
|
17 |
>
|
src/lib/components/OverloadedModal.svelte
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
let { onClose }: { onClose: () => void } = $props();
|
9 |
</script>
|
10 |
|
11 |
-
<Modal on:close={onClose} width="max-w-[400px]">
|
12 |
<div
|
13 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-3 bg-gradient-to-b px-5 pb-4 pt-9 text-center sm:px-6"
|
14 |
>
|
|
|
8 |
let { onClose }: { onClose: () => void } = $props();
|
9 |
</script>
|
10 |
|
11 |
+
<Modal on:close={onClose} width="!max-w-[400px]">
|
12 |
<div
|
13 |
class="from-primary-500/40 via-primary-500/10 to-primary-500/0 flex w-full flex-col items-center gap-3 bg-gradient-to-b px-5 pb-4 pt-9 text-center sm:px-6"
|
14 |
>
|
src/lib/components/SystemPromptModal.svelte
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
</button>
|
23 |
|
24 |
{#if isOpen}
|
25 |
-
<Modal on:close={() => (isOpen = false)} width="w-full max-w-xl">
|
26 |
<div class="flex w-full flex-col gap-5 p-6">
|
27 |
<div class="flex items-start justify-between text-xl font-semibold text-gray-800">
|
28 |
<h2>System Prompt</h2>
|
|
|
22 |
</button>
|
23 |
|
24 |
{#if isOpen}
|
25 |
+
<Modal on:close={() => (isOpen = false)} width="w-full !max-w-xl">
|
26 |
<div class="flex w-full flex-col gap-5 p-6">
|
27 |
<div class="flex items-start justify-between text-xl font-semibold text-gray-800">
|
28 |
<h2>System Prompt</h2>
|