feat: improve mobile responsiveness across login, entry, and result screens
Some checks failed
lotteryfront CI / build (push) Has been cancelled
Some checks failed
lotteryfront CI / build (push) Has been cancelled
- Updated HallDrawPanel to use responsive grid layout, switching from 3-column to single-column on mobile with appropriate dividers - Refactored EntryGate to use useMemo for gateReady state instead of useLayoutEffect, improving initialization logic - Reduced minimum height of hero sections from 320px to 200px on mobile (sm:320px) in login and entry screens - Enhanced WinningResultDialog layout with flexbox structure and
This commit is contained in:
@@ -151,7 +151,7 @@ export function PlayerLoginScreen(): React.ReactElement {
|
||||
|
||||
return (
|
||||
<div className="relative flex min-h-dvh flex-col bg-white">
|
||||
<div className="relative h-[45vh] min-h-[320px] shrink-0 overflow-hidden bg-red-600">
|
||||
<div className="relative h-[45vh] min-h-[200px] shrink-0 overflow-hidden bg-red-600 sm:min-h-[320px]">
|
||||
<div className="pointer-events-none absolute inset-0">
|
||||
<Image src="/entry/image1.png" alt="" fill className="object-cover object-center" priority />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user