From 9b218d189f57ebf5cbfc0cd227cb9ce2d502305a Mon Sep 17 00:00:00 2001 From: Didictateur Date: Mon, 23 Feb 2026 14:45:00 +0100 Subject: [PATCH] fixed overscroll --- components/menu.html | 3 +++ frontend/css/style.css | 1 + 2 files changed, 4 insertions(+) diff --git a/components/menu.html b/components/menu.html index 07fa780..5da2406 100644 --- a/components/menu.html +++ b/components/menu.html @@ -30,6 +30,9 @@ padding: 1rem 0; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); + position: sticky; + top: 0; + z-index: 1000; } .menu ul { diff --git a/frontend/css/style.css b/frontend/css/style.css index 24547bc..0fe0645 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -11,6 +11,7 @@ body { background: radial-gradient(circle at center, #1a5c1a 0%, #0d3d0d 100%); background-attachment: fixed; font-family: Arial, sans-serif; + overscroll-behavior: none; } /* Brillance subtile */