Skip to content

fix(mobile): 아이폰 반응형 — 안전영역·푸터·키보드 힌트 - #62

Merged
redsunjin merged 1 commit into
mainfrom
fix/ios-responsive-footer
Aug 5, 2026
Merged

fix(mobile): 아이폰 반응형 — 안전영역·푸터·키보드 힌트#62
redsunjin merged 1 commit into
mainfrom
fix/ios-responsive-footer

Conversation

@redsunjin

Copy link
Copy Markdown
Owner

요약

사용자 피드백("아이폰에서 반응형 적용이 제대로 안 된 것 같다") — 시뮬레이터(iPhone 17 Pro) 스크린샷으로 확인된 3가지 수정:

  1. 상태바/노치 침범: 안전영역 패딩이 display-mode: standalone(PWA)에만 적용되어 Capacitor 웹뷰(browser 모드)에서 헤더가 시계와 겹침 → body 상시 적용으로 변경(데스크톱은 env()=0), 패딩 영역 배경을 bg-gray-950으로 일치.
  2. 푸터 세로 붕괴: 거대한 키보드 단축키 클러스터가 좁은 화면에서 팁 텍스트를 1글자 폭으로 압축 → 단축키는 hidden md:flex.
  3. 터치 기기에 키보드 힌트: 모바일에선 "노트 탭=Diff, 레인 버튼=승인/반려" 한 줄 안내로 대체.

검증

  • iPhone 17 Pro 시뮬레이터 before/after 스크린샷 — 헤더 정상 배치, 다크 상태바 블렌딩, 푸터 정리 확인.
  • 데스크톱 표시 무변경(md 이상 동일) — vitest 20파일 전체 통과, e2e는 CI에서 재검증.

경계

src/index.css + FooterHelp.jsx만 수정.

🤖 Generated with Claude Code

Capacitor 네이티브 셸은 display-mode standalone이 아니라 안전영역
패딩이 빠져 헤더가 노치/상태바와 겹치던 문제를 body 상시 적용으로
수정하고(데스크톱은 env()=0이라 무해), 패딩 영역 배경을 앱 다크 톤과
일치. FooterHelp는 좁은 화면에서 팁 텍스트가 1글자 폭으로 세로
붕괴하고 터치 기기에 키보드 단축키(DFJK/Ctrl+Z)가 노출되던 것을
md 브레이크포인트로 분리 — 모바일은 탭 안내 한 줄만. 데스크톱 표시는
무변경(e2e 영향 없음).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 46f5a2432c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/index.css
Comment on lines +52 to +55
padding-top: env(safe-area-inset-top);
padding-right: env(safe-area-inset-right);
padding-bottom: env(safe-area-inset-bottom);
padding-left: env(safe-area-inset-left);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep safe-area padding inside the viewport

In iOS/Capacitor/PWA contexts where env(safe-area-inset-*) is non-zero, applying this padding to body does not reduce the h-screen app height (src/App.jsx:676): the root still lays out as 100vh after the top padding and before the bottom padding, making the document taller than the viewport and leaving the footer/home controls below or inside the unsafe area unless the page scrolls. Move the insets into the app container or subtract them from the app height so the fixed-height flex column actually fits within the safe area.

Useful? React with 👍 / 👎.

@redsunjin
redsunjin merged commit 75ac305 into main Aug 5, 2026
4 checks passed
@redsunjin
redsunjin deleted the fix/ios-responsive-footer branch August 5, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants