victor HF Staff commited on
Commit
97d716c
·
1 Parent(s): 7ef54f4

Adjust modal height for settings layout

Browse files

Updated the Modal component's width prop to set xl screen height to 85dvh and added a 2xl breakpoint with 75dvh for improved responsiveness.

Files changed (1) hide show
  1. src/routes/settings/+layout.svelte +1 -1
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-[70dvh]"
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}