From 395087b1254b00cb5e608e80454470342952dec0 Mon Sep 17 00:00:00 2001 From: Hampus Hallkvist Date: Sun, 17 Nov 2024 10:44:27 +0100 Subject: [PATCH] fix: Overscroll on /map Co-authored-by: Didrik Munther --- src/app/student/map/layout.tsx | 4 ++++ src/app/student/map/map.css | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/app/student/map/layout.tsx create mode 100644 src/app/student/map/map.css diff --git a/src/app/student/map/layout.tsx b/src/app/student/map/layout.tsx new file mode 100644 index 0000000..eae8684 --- /dev/null +++ b/src/app/student/map/layout.tsx @@ -0,0 +1,4 @@ +import "./map.css" +export default function Layout({ children }: React.PropsWithChildren) { + return children +} diff --git a/src/app/student/map/map.css b/src/app/student/map/map.css new file mode 100644 index 0000000..de27ef6 --- /dev/null +++ b/src/app/student/map/map.css @@ -0,0 +1,3 @@ +body { + overscroll-behavior-y: none !important; +}