fix(layout): 헤더 오프셋 처리를 root layout으로 통일 - #112
Merged
Merged
Conversation
- layout.tsx content div에 pt-16 추가로 단일 오프셋 처리 - Container의 py-25를 pb-25 pt-6으로 분리해 상단 중복 제거 - workspace 페이지 로딩/메인 div의 pt-16 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련 이슈
closes #98
변경 내용
Header가fixed포지션이라 DOM 흐름에서 공간을 차지하지 않는 문제를 각 페이지가 제각각 처리하던 것을 root layout 한 곳에서 통일했습니다.수정 전
py-25(100px)로 암묵적 흡수pt-16직접 선언수정 후
root layout의 content div에
pt-16을 추가해 모든 페이지가 동일한 오프셋 기준을 가집니다.변경 파일
src/app/layout.tsx— content div에pt-16추가src/components/shared/Container.tsx—py-25→pb-25 pt-6(상단 중복 제거, 하단 유지)src/app/(main)/project/workspace/[id]/page.tsx— 로딩/메인 div의pt-16제거테스트 체크리스트
🤖 Generated with Claude Code