diff --git a/app/components/elements/Dialog.module.css b/app/components/elements/Dialog.module.css index 534e9aaed..8ef30d526 100644 --- a/app/components/elements/Dialog.module.css +++ b/app/components/elements/Dialog.module.css @@ -46,7 +46,10 @@ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); - margin: auto; +} + +:global(html[data-fuse="true"]) .modal { + max-height: 72dvh; } .fullScreenModal { diff --git a/app/root.tsx b/app/root.tsx index 41bf0cb4c..d505ae915 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -173,6 +173,12 @@ function Document({ dir={i18n.dir()} className={clsx(htmlThemeClass, "scrollbar")} style={htmlStyle} + data-fuse={ + import.meta.env.VITE_FUSE_ENABLED && + !data?.user?.roles.includes("MINOR_SUPPORT") + ? "true" + : undefined + } suppressHydrationWarning >