Skip to content

Commit

Permalink
fix: 모바일 네비가 스크롤되는 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Apr 7, 2024
1 parent e331d23 commit a5da3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/header/MobileNavButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const useMobileNav = () => {
if (state.type === 'closed') {
main.scrollTo(0, 0);
main.style.overflow = 'hidden';
main.style.height = '100vh';
main.style.height = '100%';
return { type: 'hovered', segmentNode: nodeToOpen || about };
} else {
main.style.overflow = '';
Expand Down

0 comments on commit a5da3df

Please sign in to comment.