Ensure modal action is not blocked

This commit is contained in:
Kalle 2026-03-19 21:45:59 +02:00
parent cbfa49c3ab
commit ddcd7307c7
2 changed files with 10 additions and 1 deletions

View File

@ -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 {

View File

@ -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
>
<head>