fix: 내 레벨·레벨업·오늘 타로 창이 길면 창 안에서 스크롤되게, 창 끝에서 뒤 페이지로 스크롤이 넘어가지 않게
This commit is contained in:
1 parent
c61d488794
commit
8ca1d12822
3 files changed
+6
-3
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user