aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Password.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
committerAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
commit56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (patch)
treed6bc2557c56b93177bb14aa376847c6e123a4862 /src/components/Password.svelte
parent13466248004327e9a026cb89f94926f9b060d1c1 (diff)
downloadcoinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.tar.gz
coinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.zip
format
Diffstat (limited to 'src/components/Password.svelte')
-rw-r--r--src/components/Password.svelte15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/components/Password.svelte b/src/components/Password.svelte
index 2c2319f6..3a7d71fe 100644
--- a/src/components/Password.svelte
+++ b/src/components/Password.svelte
@@ -24,24 +24,17 @@
</script>
<div class="fixed inset-0 bg-base-100/90 overflow-y-auto h-full w-full z-50">
- <div
- class="relative top-1/3 mx-auto p-5 border w-96 shadow-lg rounded-md bg-base-100 space-y-5"
- >
+ <div class="relative top-1/3 mx-auto p-5 border w-96 shadow-lg rounded-md bg-base-100 space-y-5">
<h1 class="text-center text-2xl font-semibold">
{$t("user.settings.pleaseEnterYourPassword")}
</h1>
<form onsubmit={submit} class="space-y-2">
<PasswordInput bind:value={password} {focus} />
<div class="w-full flex gap-2">
- <button
- type="button"
- class="btn !w-auto grow"
- onclick={cancel}
- onkeydown={cancel}>{$t("payments.cancel")}</button
- >
- <button type="submit" class="btn btn-accent !w-auto grow"
- >{$t("payments.submit")}</button
+ <button type="button" class="btn !w-auto grow" onclick={cancel} onkeydown={cancel}
+ >{$t("payments.cancel")}</button
>
+ <button type="submit" class="btn btn-accent !w-auto grow">{$t("payments.submit")}</button>
</div>
</form>
</div>