Adjust modal height for settings layout
Browse filesUpdated the Modal component's width prop to set xl screen height to 85dvh and added a 2xl breakpoint with 75dvh for improved responsiveness.
src/routes/settings/+layout.svelte
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
<Modal
|
| 27 |
onclose={() => goto(previousPage)}
|
| 28 |
disableFly={true}
|
| 29 |
-
width="border dark:border-gray-700 h-[95dvh] w-[90dvw] pb-0 overflow-hidden rounded-2xl bg-white shadow-2xl outline-none dark:bg-gray-800 dark:text-gray-200 sm:h-[95dvh] xl:w-[1200px] xl:h-[
|
| 30 |
>
|
| 31 |
{@render children?.()}
|
| 32 |
{#if $settings.recentlySaved}
|
|
|
|
| 26 |
<Modal
|
| 27 |
onclose={() => goto(previousPage)}
|
| 28 |
disableFly={true}
|
| 29 |
+
width="border dark:border-gray-700 h-[95dvh] w-[90dvw] pb-0 overflow-hidden rounded-2xl bg-white shadow-2xl outline-none dark:bg-gray-800 dark:text-gray-200 sm:h-[95dvh] xl:w-[1200px] xl:h-[85dvh] 2xl:h-[75dvh]"
|
| 30 |
>
|
| 31 |
{@render children?.()}
|
| 32 |
{#if $settings.recentlySaved}
|