Skip to content

Commit

Permalink
feat: isMenuDropdownOpen의 overflow, bottom 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dohee12 committed Feb 18, 2025
1 parent 6237107 commit 276bb2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/_components/desktopNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const DesktopNavbar = ({
className={`absolute flex items-start gap-28 flex-1 justify-center left-1/2 -translate-x-1/2 w-full`}
style={{
top: `${NAVBAR_HEIGHT / 2 - MENU_BUTTON_HEIGHT / 2}px`,
bottom: `${NAVBAR_HEIGHT - MENU_BUTTON_HEIGHT}px`,
overflow: isMenuDropdownOpen ? "visible" : "hidden",
bottom: isMenuDropdownOpen ? "auto" : "0px",
}}
onMouseLeave={() => setIsMenuDropdownOpen(false)}
>
Expand Down

0 comments on commit 276bb2f

Please sign in to comment.