diff --git a/frontend/src/styles/dialogs.css b/frontend/src/styles/dialogs.css index 1a4d029..bae33dd 100644 --- a/frontend/src/styles/dialogs.css +++ b/frontend/src/styles/dialogs.css @@ -143,34 +143,17 @@ 0 0 26px color-mix(in srgb, var(--accent) 42%, transparent); } -.link-email-dialog-card { - display: grid; - grid-template-rows: auto minmax(0, 1fr); - height: min(100%, 560px); - max-height: 100%; - overflow: hidden; -} - -.link-email-dialog-card .dialog-head { - position: relative; - z-index: 2; -} - -.link-email-dialog-card .payment-dialog-body { - min-height: 0; -} - -.password-code-fullscreen { +.email-code-fullscreen { position: fixed; inset: 0; z-index: 220; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; - animation: password-code-fullscreen-enter 0.2s ease-out both; + animation: email-code-fullscreen-enter 0.2s ease-out both; } -@keyframes password-code-fullscreen-enter { +@keyframes email-code-fullscreen-enter { from { opacity: 0; } diff --git a/frontend/src/styles/webapp.css b/frontend/src/styles/webapp.css index 68f497a..337753a 100644 --- a/frontend/src/styles/webapp.css +++ b/frontend/src/styles/webapp.css @@ -2732,8 +2732,7 @@ a { width: min(100%, 560px); } - .payment-dialog-card, - .link-email-dialog-card { + .payment-dialog-card { width: min(100%, 640px); } } diff --git a/frontend/src/webapp/PaymentDialogs.svelte b/frontend/src/webapp/PaymentDialogs.svelte index 0de688b..d38cb2c 100644 --- a/frontend/src/webapp/PaymentDialogs.svelte +++ b/frontend/src/webapp/PaymentDialogs.svelte @@ -5,13 +5,13 @@ CheckCircle2, CircleX, LockKeyhole, - RefreshCw, TriangleAlert, } from "$components/ui/icons.js"; import { Tooltip } from "$components/ui/primitives.js"; import Button from "$components/ui/button.svelte"; import Dialog from "$components/ui/dialog.svelte"; + import EmailCodeScreen from "./auth/EmailCodeScreen.svelte"; import Input from "$components/ui/input.svelte"; import { EmptyCard, @@ -391,139 +391,77 @@ {#if setPasswordOpen && setPasswordPending} -
{t("wa_email_sent_to", { email: setPasswordEmail || "" })}
-