Mobile UI polish pass (game-ui-design + mobile-app-ui-design)
Grounded in the two installed design skills: - Safe-area insets (notch/home-bar): .safe-top/.safe-bottom/.safe-x helpers applied to the game-table HUD + bottom hand + reaction button, and to ScreenShell + HomeScreen (covers Profile/Shop/Leaderboard/etc.). - Touch targets ≥44px: table HUD buttons (mute/forfeit/exit) and the reaction button now meet the 44/48px minimum. - HUD readability: seat name/level labels (which float over the felt) get a text-shadow (.hud-shadow) and stronger contrast. Verified: tsc + next build clean; web image rebuilt on :1500. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -46,7 +46,7 @@ export function HomeScreen() {
|
||||
const playOnline = () => nav(isAuthed ? "online" : "auth");
|
||||
|
||||
return (
|
||||
<main className="persian-pattern relative h-dvh w-full overflow-y-auto overscroll-contain">
|
||||
<main className="persian-pattern relative h-dvh w-full overflow-y-auto overscroll-contain safe-top safe-x safe-bottom">
|
||||
<FloatingSuits />
|
||||
<div className="relative z-10 mx-auto w-full max-w-md p-4 sm:p-6 flex flex-col min-h-dvh">
|
||||
<div className="pt-1">
|
||||
|
||||
Reference in New Issue
Block a user