fix: 안드로이드 토스에서 탭바 아래가 약 56px 비어 보이던 것 — 토스 웹뷰는 하단 내비게이션 바 위에서 끝나는데도 safe-area-inset-bottom 을 알려 줘 여백이 두 번 들어갔음. 하단 안전 영역을 --sab 변수 하나로 모으고(탭바·페이지 아래 여백·문의 버튼·창·게임·포스트 오류 문구), 안드로이드 토스일 때만 0 으로 둠. 웹·앱·아이폰 토스는 그대로(아이폰 토스는 확인하지 못함). 갤럭시 Z 플립 5 에서 확인

This commit is contained in:
skkim committed 2026-11-23 09:46:25 +09:00
1 parent 2b1fa58f56
commit 8ea9f8f04b
6 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ export function CloudMergePage() {
// 스택 화면: 머리줄·탭을 덮게 body 로 띄운다(main 이 쌓임 순서를 가둬서). b-app 의 낮 색을 그대로 써 밤에도 밝은 바탕
return createPortal(
<div className="b-app fixed inset-0 z-[45] touch-none bg-[linear-gradient(#d9edff,#f5faff)]">
<div className="mx-auto flex h-full max-w-[440px] flex-col pt-[env(safe-area-inset-top,0px)] pb-[calc(10px+env(safe-area-inset-bottom,0px))] text-(--ink)">
<div className="mx-auto flex h-full max-w-[440px] flex-col pt-[env(safe-area-inset-top,0px)] pb-[calc(10px+var(--sab))] text-(--ink)">
<div className="flex items-center gap-1 px-3 pt-2">
<button type="button" onClick={back} aria-label="뒤로" className={cx('relative grid size-9 shrink-0 cursor-pointer place-items-center rounded-full bg-white/80 text-[22px] font-bold shadow-[0_4px_10px_rgb(40_48_74/0.08)]', TAP44)}>
‹