fix: 안드로이드 토스에서 탭바 아래가 약 56px 비어 보이던 것 — 토스 웹뷰는 하단 내비게이션 바 위에서 끝나는데도 safe-area-inset-bottom 을 알려 줘 여백이 두 번 들어갔음. 하단 안전 영역을 --sab 변수 하나로 모으고(탭바·페이지 아래 여백·문의 버튼·창·게임·포스트 오류 문구), 안드로이드 토스일 때만 0 으로 둠. 웹·앱·아이폰 토스는 그대로(아이폰 토스는 확인하지 못함). 갤럭시 Z 플립 5 에서 확인
This commit is contained in:
1 parent
2b1fa58f56
commit
8ea9f8f04b
6 files changed
+12
-7
No files matched your search
@@ -496,7 +496,7 @@ function FullCard({ post }: PostProps) {
|
||||
document.body,
|
||||
)}
|
||||
{likeFailed > 0 && createPortal(
|
||||
<p role="alert" className="pointer-events-none fixed inset-x-0 bottom-[calc(88px+env(safe-area-inset-bottom,0px))] z-50 m-0 flex justify-center px-4">
|
||||
<p role="alert" className="pointer-events-none fixed inset-x-0 bottom-[calc(88px+var(--sab))] z-50 m-0 flex justify-center px-4">
|
||||
<span className="rounded-full bg-[rgb(30_36_56/0.82)] px-3.5 py-2 text-[13px] font-bold text-white">{liked ? '좋아요를 취소하지 못했어요' : '좋아요를 반영하지 못했어요'}. 다시 해 주세요.</span>
|
||||
</p>,
|
||||
document.body,
|
||||
|
||||
Reference in new issue
Block a user