Skip to content

Commit

Permalink
Style: 스크롤다운시 섹션헤더가 화면 가운데로 오도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
misung-dev committed Nov 18, 2023
1 parent d44e51d commit 832e436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Header = () => {
const headerHeight = 90;
section.scrollIntoView({
behavior: 'smooth',
block: 'start', // 기본속성
block: 'center', // 기본속성인 start -> center
boundary: { top: headerHeight },
});
}
Expand Down

0 comments on commit 832e436

Please sign in to comment.