fix: 분석 리포트 페이지 좁은 화면 레이아웃 복구 - #20
Merged
Merged
Conversation
사이드바가 폭과 무관하게 w-60 고정이라, 393px 폰에서 240px을 먹고 본문에 110px만 남았다. 요약 수치도 브리핑 문장도 한 줄에 한 자씩 끊겨 리포트를 읽는 것 자체가 불가능했다. - 사이드바를 lg 미만에서 w-72 오버레이 서랍으로 전환. VideoPlayerPage 와 같은 문법 — invisible 로 탭 순서에서 빼고, 배경 딤, ESC 닫기, overscroll-contain. 본문 상단에 햄버거 + 영상 제목 스티키 바를 둔다 (제목이 사이드바에만 있어서 서랍이 닫히면 무엇을 보는지 알 수 없었다) - 히트맵 코트 폭 min(152px,32%) → 폰 40%, 태블릿 상한 200px. 32%면 폰에서 코트가 100px로 쪼그라들어 타점이 서로 겹쳐 읽히지 않았다 - 스트로크 도넛을 폰에서 180px → 128px. 원래 폭이면 옆 범례가 한 줄에 "12회 40%"를 못 담아 숫자가 잘렸다. 확대 모달은 도넛을 범례 위로 올린다 - AI 브리핑 헤더는 제목+배지+버튼 둘이 폰 폭을 넘어서 flex-wrap - 미확정 말풍선을 왼쪽 정렬로. 가운데 정렬은 칩이 카드 왼쪽 끝에 붙어 있어 말풍선 왼쪽 25px쯤이 카드 밖으로 나가 잘렸다 (태블릿에서도 마찬가지였다) - 랠리 결과 행 줄바꿈, 점수 수정 입력 크기, 카드·모달 패딩, 로딩 스켈레톤 - 스티키 바 제목은 p 로 둔다. h2 를 쓰면 바로 아래 본문 h1 보다 먼저 나와 제목 순서가 뒤집힌다 되돌리는 기준은 전부 sm/lg 로 걸어서 데스크톱은 그대로다. 1440x900 에서 변경 전/후 스크린샷이 바이트 단위로 동일한 것을 확인했고, 360~1440 구간 어디에도 가로 넘침이 없다.
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.
배경
분석 리포트 페이지의 사이드바가 폭과 무관하게
w-60고정이었다. 393px 폰에서 240px을 먹고 본문에 110px만 남아, 요약 수치도 브리핑 문장도 한 줄에 한 자씩 끊겼다. 리포트를 읽는 것 자체가 불가능한 상태였다.앞선 PR #19에서 영상 페이지·인증 모달은 정리했지만 분석 페이지는 남아 있었다.
변경
사이드바 → 서랍
lg미만에서w-72오버레이 서랍으로 전환. 배경 딤 / ESC / 닫기 버튼invisible로 탭 순서에서 제외 — 1161c61f에서 영상 페이지에 적용한 것과 같은 문법100vh→100dvh카드 내부 재배치
min(152px,32%)→ 폰 40%, 태블릿 상한 200px. 32%면 폰에서 코트가 100px로 쪼그라들어 타점이 서로 겹쳐 읽히지 않았다드라이브→드...잘림 해소flex-wrap접근성
h2가 아니라p.h2를 쓰면 바로 아래 본문h1보다 먼저 나와 제목 순서가 뒤집힌다aria-label,aria-expandedoverscroll-contain검증
npm run build통과sm:/lg:로 걸었다scrollWidth == clientWidth, 넘치는 요소 0후속 과제 (이 PR 범위 밖)
기존 코드에 있던 것들로, 손대면 데스크톱 화면이 바뀌어 이번 PR에서 제외했다.
h1이 두 개 (사이드바 제목 + 본문 제목)animate-pulse/animate-bounce가prefers-reduced-motion을 무시. Header.tsx는 가드가 있어 규칙이 서로 어긋난다aria-live없음🤖 Generated with Claude Code