feat: implement global pull-to-refresh functionality and refine UI typography and layout scaling for improved mobile UX.
Some checks failed
lotteryfront CI / build (push) Has been cancelled
Some checks failed
lotteryfront CI / build (push) Has been cancelled
This commit is contained in:
@@ -362,7 +362,7 @@ export function EntryGate() {
|
||||
|
||||
return (
|
||||
<div className="relative flex min-h-dvh flex-col bg-white">
|
||||
<div className={cn("relative h-[45vh] min-h-[200px] sm:min-h-[320px]", phase === "success" ? "bg-white" : "bg-red-600")}>
|
||||
<div className={cn("relative h-[45vh] min-h-[200px]", phase === "success" ? "bg-white" : "bg-red-600")}>
|
||||
<div className="pointer-events-none absolute inset-0 overflow-hidden">
|
||||
<Image
|
||||
src={phase === "success" ? "/entry/image4.png" : "/entry/image1.png"}
|
||||
|
||||
@@ -94,7 +94,7 @@ export function NotificationsScreen() {
|
||||
</span>
|
||||
<span
|
||||
className={cn(
|
||||
"text-[10px] font-semibold",
|
||||
"text-[11px] font-semibold",
|
||||
cardRead ? "text-slate-400" : "text-amber-700",
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -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-[200px] shrink-0 overflow-hidden bg-red-600 sm:min-h-[320px]">
|
||||
<div className="relative h-[45vh] min-h-[200px] shrink-0 overflow-hidden bg-red-600">
|
||||
<div className="pointer-events-none absolute inset-0">
|
||||
<Image src="/entry/image1.png" alt="" fill className="object-cover object-center" priority />
|
||||
</div>
|
||||
@@ -202,7 +202,7 @@ export function PlayerLoginScreen(): React.ReactElement {
|
||||
placeholder={t("login.captchaPlaceholder")}
|
||||
maxLength={32}
|
||||
disabled={loading}
|
||||
className="min-w-0 flex-1 sm:max-w-[12rem]"
|
||||
className="min-w-0 flex-1"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -23,7 +23,7 @@ export function PlayerSessionBar({ className }: { className?: string }) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"flex min-w-0 max-w-[55%] items-center gap-1.5 sm:max-w-[60%]",
|
||||
"flex min-w-0 max-w-[55%] items-center gap-1.5",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
@@ -35,7 +35,7 @@ export function PlayerSessionBar({ className }: { className?: string }) {
|
||||
{label ?? "…"}
|
||||
</p>
|
||||
{activeCurrency ? (
|
||||
<p className="truncate text-[10px] text-muted-foreground">
|
||||
<p className="truncate text-[11px] text-muted-foreground">
|
||||
{activeCurrency}
|
||||
{profile?.locale ? (
|
||||
<span className="text-muted-foreground/80">
|
||||
|
||||
Reference in New Issue
Block a user