Merge remote-tracking branch 'origin/main' into feat/apps-in-toss

This commit is contained in:
minaChoi committed 2026-10-28 17:24:15 +09:00
commit becd26d1da
3 files changed
+6 -3

No files matched your search

+3
View File
@@ -157,11 +157,14 @@ function SheetHost({ state, onClose }: { state: SheetState; onClose: () => void
const root = document.documentElement
const before = root.style.overflow
root.style.overflow = 'hidden'
// 창 안에서 끝까지 밀어도 뒤 페이지로 넘어가지 않게
root.style.overscrollBehavior = 'none'
// 뒤 화면 움직임 멈추기는 페이지 전체 스타일을 다시 계산하게 해서, 창이 다 올라온 뒤에 한다
const pause = setTimeout(() => root.classList.add('b-sheet-open'), SHEET_OPEN_MS)
return () => {
clearTimeout(pause)
root.style.overflow = before
root.style.overscrollBehavior = ''
root.classList.remove('b-sheet-open')
}
}, [isOpen])
+1 -1
View File
@@ -174,7 +174,7 @@ export function TarotSheet() {
}
return (
<div className="px-4 pb-2">
<div className="flex-1 overflow-auto overscroll-contain px-4 pb-2">
{!card ? (
<button
type="button"
+2 -2
View File
@@ -154,7 +154,7 @@ export function LevelSheet() {
if (!level) return null
const steps = (level.unlocks ?? []).reduce<Record<number, string[]>>((m, u) => ({ ...m, [u.level]: [...(m[u.level] ?? []), u.name] }), {})
return (
<div className="flex flex-col gap-4 px-4 pb-4">
<div className="flex flex-1 flex-col gap-4 overflow-auto overscroll-contain px-4 pt-3.5 pb-4">
<LevelCard link={false} />
<section>
<h4 className="m-0 mb-2 text-sm font-extrabold">오늘 받을 수 있는 각</h4>
@@ -212,7 +212,7 @@ export function LevelUpSheet({ level: lv }: { level: number }) {
const opened = unlocks.map((u) => u.name)
const name = level?.levels?.find((l) => l.level === lv)?.name
return (
<div className="flex flex-col items-center gap-2 px-6 pt-2 pb-6 text-center">
<div className="flex flex-1 flex-col items-center gap-2 overflow-auto overscroll-contain px-6 pt-2 pb-6 text-center">
<Ic name={levelIcon(lv)} className="size-24" />
<b className="font-jua text-[28px] font-normal">
Lv.{lv} {name}