Modal overflow changed

This commit is contained in:
sumona-banerjeee
2026-02-11 18:10:49 +05:30
parent 12b6a99531
commit d8f166947c
5 changed files with 179 additions and 187 deletions

View File

@@ -362,4 +362,15 @@
animation: logo-spin-reverse-slow 8s linear infinite;
}
}
/* Prevent layout shift when Dialog locks body scroll */
html {
overflow-y: scroll;
/* always show scrollbar to prevent width jump */
}
body[data-scroll-locked] {
overflow: hidden;
padding-right: var(--removed-body-scroll-bar-size, 0px) !important;
}