Skip to content

Commit 6c36e99

Browse files
committed
fix: UserMenu dropdown unclickable + game cards behind BottomNav
- .nav z-index: 10 so dropdown escapes stacking context above .main - Dashboard .main bottom padding 24px -> 80px for BottomNav clearance - Chat Home button reduced to match mobile sizing (36px / 0.82rem)
1 parent 20779db commit 6c36e99

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ body {
174174
background: var(--nav-bg);
175175
backdrop-filter: blur(12px);
176176
border-bottom: 2px solid var(--border);
177+
position: relative;
178+
z-index: 10;
177179
transition:
178180
background 400ms var(--ease),
179181
border-color 400ms var(--ease);

app/kid-dashboard/chat/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export default function ChatPage() {
223223
<NavLogo />
224224
<div style={{ display: "flex", alignItems: "center", gap: 10 }}>
225225
<ThemeToggle theme={theme} onToggle={() => setTheme((t) => (t === "light" ? "dark" : "light"))} />
226-
<Link href="/kid-dashboard" className="btn btn-outline" style={{ minHeight: 40, padding: "8px 14px", fontSize: "0.85rem" }}>
226+
<Link href="/kid-dashboard" className="btn btn-outline" style={{ minHeight: 36, padding: "6px 12px", fontSize: "0.82rem" }}>
227227
Home
228228
</Link>
229229
<UserMenu />

app/kid-dashboard/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default function KidDashboardPage() {
122122
</div>
123123
</nav>
124124

125-
<div className="main fade fade-1" style={{ maxWidth: 900, padding: "24px 20px 24px" }}>
125+
<div className="main fade fade-1" style={{ maxWidth: 900, padding: "24px 20px 80px" }}>
126126
{/* Welcome */}
127127
<div className="fade fade-1" style={{ marginBottom: 20 }}>
128128
<h1

0 commit comments

Comments
 (0)