From a102f3835a8efaaf09262f6c09b4f9714580d7b1 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 23 Oct 2024 18:08:32 +0200 Subject: [PATCH] Fix menu animation --- src/components/Menu/menu.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Menu/menu.css b/src/components/Menu/menu.css index 0200de5..3403866 100644 --- a/src/components/Menu/menu.css +++ b/src/components/Menu/menu.css @@ -80,6 +80,7 @@ position: sticky; top: 0; height: calc(100vh - 24px); + overflow: auto; } .menu-header-right { @@ -184,15 +185,15 @@ } .menu-items:has(.active:nth-child(14))::before { - top: calc(100vh - 246px); + top: calc(100% - 113px); } .menu-items:has(.active:nth-child(15))::before { - top: calc(100vh - 203px); + top: calc(100% - 70px); } .menu-items:has(.active:nth-child(16))::before { - top: calc(100vh - 160px); + top: calc(100% - 27px); } .menu-item:not(:first-child) {