Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-18 20:29:46 +08:00

View File

@@ -117,11 +117,15 @@ export function AccountModal({
return ( return (
<div <div
className="fixed inset-0 z-[70] flex items-end justify-center bg-black/62 px-4 py-4 sm:items-center" className="fixed inset-0 z-[70] flex items-end justify-center overflow-y-auto bg-black/62 px-4 sm:items-center"
style={{
paddingTop: 'calc(env(safe-area-inset-top, 0px) + 1rem)',
paddingBottom: 'calc(env(safe-area-inset-bottom, 0px) + 1rem)',
}}
onClick={onClose} onClick={onClose}
> >
<div <div
className="w-full max-w-md rounded-[28px] border border-white/10 bg-[linear-gradient(180deg,_rgba(20,23,31,0.96),_rgba(10,12,18,0.98))] p-5 shadow-[0_24px_80px_rgba(0,0,0,0.58)]" className="flex max-h-full w-full max-w-md flex-col overflow-hidden rounded-[28px] border border-white/10 bg-[linear-gradient(180deg,_rgba(20,23,31,0.96),_rgba(10,12,18,0.98))] p-5 shadow-[0_24px_80px_rgba(0,0,0,0.58)]"
onClick={(event) => event.stopPropagation()} onClick={(event) => event.stopPropagation()}
> >
<div className="flex items-start justify-between gap-4"> <div className="flex items-start justify-between gap-4">
@@ -142,7 +146,8 @@ export function AccountModal({
</button> </button>
</div> </div>
<div className="mt-5 grid gap-3 text-sm text-zinc-200"> <div className="mt-5 min-h-0 flex-1 overflow-y-auto pr-1">
<div className="grid gap-3 text-sm text-zinc-200">
<div className="rounded-2xl border border-white/8 bg-white/5 px-4 py-3"> <div className="rounded-2xl border border-white/8 bg-white/5 px-4 py-3">
{resolveLoginMethodLabel(user.loginMethod)} {resolveLoginMethodLabel(user.loginMethod)}
</div> </div>
@@ -474,5 +479,6 @@ export function AccountModal({
</button> </button>
</div> </div>
</div> </div>
</div>
); );
} }