Spaces:
Sleeping
Sleeping
max height (#490)
Browse files
src/lib/components/Modal.svelte
CHANGED
@@ -55,7 +55,7 @@
|
|
55 |
tabindex="-1"
|
56 |
bind:this={modalEl}
|
57 |
on:keydown={handleKeydown}
|
58 |
-
class="max-h-[90dvh] overflow-y-auto overflow-x-hidden rounded-2xl bg-white shadow-2xl outline-none sm:-mt-10
|
59 |
>
|
60 |
<slot />
|
61 |
</div>
|
|
|
55 |
tabindex="-1"
|
56 |
bind:this={modalEl}
|
57 |
on:keydown={handleKeydown}
|
58 |
+
class="max-h-[90dvh] overflow-y-auto overflow-x-hidden rounded-2xl bg-white shadow-2xl outline-none sm:-mt-10 {width}"
|
59 |
>
|
60 |
<slot />
|
61 |
</div>
|