diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 13:54:05 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:34:01 -0800 |
| commit | 5581bb7cdf3fd9e6b3d9b768d234ce4867c6df15 (patch) | |
| tree | 741238298f587ee44a03e0270f3ca3655ec5d6e7 /src | |
| parent | 918f4b29bc66be343914fd4c9284375825c57fdf (diff) | |
| download | coinos-ui-5581bb7cdf3fd9e6b3d9b768d234ce4867c6df15.tar.gz coinos-ui-5581bb7cdf3fd9e6b3d9b768d234ce4867c6df15.zip | |
touchups
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Mnemonic.svelte | 12 | ||||
| -rw-r--r-- | src/routes/(app)/account/pass/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/account/seed/+page.svelte | 8 |
3 files changed, 9 insertions, 13 deletions
diff --git a/src/components/Mnemonic.svelte b/src/components/Mnemonic.svelte index 117c98f2..aa63c728 100644 --- a/src/components/Mnemonic.svelte +++ b/src/components/Mnemonic.svelte @@ -2,14 +2,16 @@ let { mnemonic } = $props(); </script> -<div class="card"> +<div class="card w-full"> <div - class="card-body text-secondary grid grid-flow-col grid-rows-6 sm:grid-rows-none grid-cols-2 sm:grid-cols-3 sm:grid-flow-row gap-x-8 gap-y-2 justify-center whitespace-nowrap m-auto" + class="card-body w-full text-secondary grid grid-flow-col grid-rows-6 sm:grid-rows-none grid-cols-2 sm:grid-cols-3 sm:grid-flow-row gap-x-8 gap-y-2 justify-center justify-items-center whitespace-nowrap text-xl" > {#each mnemonic.split(" ") as w, i} - <div> - <span class="select-none text-neutral">{i + 1}.</span> - <span>{@html w === "-" ? "—" : w}</span> + <div class="flex items-center gap-2 w-full max-w-[10rem] justify-start"> + <span class="select-none text-sm w-6 text-left">{i + 1}.</span> + <span class="text-left"> + {@html w === "-" ? "—" : w} + </span> </div> {/each} </div> diff --git a/src/routes/(app)/account/pass/+page.svelte b/src/routes/(app)/account/pass/+page.svelte index 5e681033..3b7c6fec 100644 --- a/src/routes/(app)/account/pass/+page.svelte +++ b/src/routes/(app)/account/pass/+page.svelte @@ -77,7 +77,7 @@ onsubmit={preventDefault(submit)} class="container w-full mx-auto text-lg px-4 max-w-xl space-y-5" > - <p class="text-secondary mb-1"> + <p class="text-secondary p-4 bg-warning/80 rounded-2xl border-warning border-2"> {$t("accounts.passwordWarning")} </p> diff --git a/src/routes/(app)/account/seed/+page.svelte b/src/routes/(app)/account/seed/+page.svelte index 73d15f00..04077009 100644 --- a/src/routes/(app)/account/seed/+page.svelte +++ b/src/routes/(app)/account/seed/+page.svelte @@ -26,17 +26,11 @@ {$t("accounts.seedPhrase")} </h1> - <div class="container w-full mx-auto text-lg px-4 max-w-xl space-y-2"> + <div class="container w-full mx-auto px-4 max-w-xl space-y-2"> {#if $mnemonic} <Mnemonic mnemonic={$mnemonic} /> {/if} - <button type="button" class="btn" onclick={generate}> - <iconify-icon noobserver icon="ph:dice-three-bold" width="32" - ></iconify-icon> - <div class="my-auto">{$t("accounts.regenerate")}</div> - </button> - <button type="button" class="btn" onclick={() => copy($mnemonic)}> <iconify-icon noobserver icon="ph:copy-bold" width="32" ></iconify-icon> |
