Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/src/styles/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ main {
scrollbar-color: var(--sub-color) transparent;
}

.modal {
overscroll-behavior-y: none;
}

html {
@extend .ffscroll;
overflow-y: scroll;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ts/components/common/AnimatedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export function AnimatedModal(props: AnimatedModalProps): JSXElement {
>
<div
class={cn(
"modal pointer-events-auto grid h-max max-h-full w-full max-w-md gap-4 overflow-auto rounded-double bg-bg p-4 text-text ring-4 ring-sub-alt sm:p-8",
"modal pointer-events-auto grid h-max max-h-full w-full max-w-md gap-4 overflow-auto overscroll-y-none rounded-double bg-bg p-4 text-text ring-4 ring-sub-alt sm:p-8",
props.modalClass,
)}
ref={modalRef}
Expand Down
Loading