Fix scrolling issue on mobile

This commit is contained in:
Arthur Belleville 2025-04-08 07:42:01 +02:00
parent e881748bd4
commit 3fcdc1e193
No known key found for this signature in database

View file

@ -163,7 +163,7 @@ export const SideNavigation = ({
<div
className={twMerge(
"group isolate flex flex-col overflow-y-auto overflow-x-hidden bg-navbar-background transition-all duration-300",
"fixed md:relative h-screen z-50",
"fixed md:relative h-[calc(100vh-2rem)] md:h-screen z-50",
isCollapsed ? "w-16" : "w-48",
"md:flex",
"transform md:transform-none",
@ -220,7 +220,7 @@ export const SideNavigation = ({
<MainNavigation isCollapsed={isCollapsed} />
<div
className={twMerge(
"bg-navbar-background flex px-1 pb-1.5 w-full",
"bg-navbar-background flex px-1 pb-1.5 w-full mt-auto",
isCollapsed ? "pl-2.5 pr-3.5" : ""
)}
>