fix: scale the settings modal height with tall viewports instead of capping at 54rem (#27615)

This commit is contained in:
G30
2026-08-11 01:34:04 -04:00
committed by GitHub
parent 4eb0394511
commit d959e3e312
+1 -1
View File
@@ -905,7 +905,7 @@
<Modal
size="full"
containerClassName="p-4 sm:p-6 lg:p-8"
className="!w-[calc(100vw-2rem)] sm:!w-[calc(100vw-3rem)] lg:!w-[calc(100vw-4rem)] !max-w-[80rem] h-[min(54rem,calc(100dvh-4rem))] max-h-[calc(100dvh-4rem)] flex flex-col md:flex-row bg-white dark:bg-gray-900 rounded-4xl"
className="!w-[calc(100vw-2rem)] sm:!w-[calc(100vw-3rem)] lg:!w-[calc(100vw-4rem)] !max-w-[80rem] h-[min(max(54rem,80dvh),calc(100dvh-4rem))] max-h-[calc(100dvh-4rem)] flex flex-col md:flex-row bg-white dark:bg-gray-900 rounded-4xl"
bind:show={modalShow}
>
<nav