Skip to content

Commit

Permalink
fix scroll logic
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Nov 5, 2024
1 parent 90f4593 commit fc63e49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/navigation-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ const MainNavigationBarDesktopMenuContent = ({
onMouseLeave={() => setIsMenuHovered(false)}
style={{
top: topSpace,
maxHeight: `calc(100vh - ${topSpace}px - ${bottomSpace}px)`,
overflowY: isMenuContentScrollable ? 'auto' : 'hidden',
}}
>
Expand Down

0 comments on commit fc63e49

Please sign in to comment.