Fix scrolling issue on mobile
This commit is contained in:
parent
e881748bd4
commit
3fcdc1e193
1 changed files with 2 additions and 2 deletions
|
|
@ -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" : ""
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue