diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index d6e060c7..5f7dd90e 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -22,6 +22,12 @@ code { } @layer base { + /* Prevent rubber-band bounce from exposing the area behind the fixed frame. */ + html, + body { + overscroll-behavior-y: none; + } + [id] { scroll-margin-top: 5rem; } @media (prefers-reduced-motion: reduce) { diff --git a/layouts/default.vue b/layouts/default.vue index 08791a3b..243cc5a5 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,7 +1,7 @@