Skip to content

Commit d17b510

Browse files
authored
fix: adjust bottom button height (#754)
* fix: adjust bottom button height * format
1 parent f0271fa commit d17b510

File tree

8 files changed

+16
-15
lines changed

8 files changed

+16
-15
lines changed

infrastructure/eid-wallet/src/routes/(app)/main/+page.svelte

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,15 @@ onDestroy(() => {
198198
</div>
199199
</Drawer>
200200

201-
<Button.Nav href="/scan-qr">
201+
<Button.Nav
202+
href="/scan-qr"
203+
class="fixed bottom-12 left-1/2 -translate-x-1/2"
204+
>
202205
<Button.Action
203206
variant="solid"
204-
size="sm"
207+
size="md"
205208
onclick={() => alert("Action button clicked!")}
206-
class="mx-auto text-nowrap flex gap-8 fixed bottom-5 left-1/2 -translate-x-1/2 z-10"
209+
class="mx-auto text-nowrap flex gap-8"
207210
>
208211
<HugeiconsIcon
209212
size={32}

infrastructure/eid-wallet/src/routes/(app)/settings/pin/+page.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ onMount(() => {
5757
</script>
5858

5959
<main
60-
class="h-[85vh] pt-[4svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between"
60+
class="h-[85vh] pt-[4svh] px-[5vw] pb-[8svh] flex flex-col justify-between"
6161
>
6262
<section>
6363
<div>
@@ -83,9 +83,9 @@ onMount(() => {
8383

8484
<Drawer bind:isPaneOpen={showDrawer}>
8585
<div
86-
class="relative bg-gray w-[72px] h-[72px] rounded-[24px] flex justify-center items-center mb-[2.3svh]"
86+
class="relative bg-gray w-18 h-18 rounded-3xl flex justify-center items-center mb-[2.3svh]"
8787
>
88-
<span class="relative z-[1]">
88+
<span class="relative z-1">
8989
<HugeiconsIcon
9090
icon={CircleLock01Icon}
9191
color="var(--color-primary)"

infrastructure/eid-wallet/src/routes/(auth)/login/+page.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,7 @@ onMount(async () => {
238238
});
239239
</script>
240240

241-
<main
242-
class="h-full pt-[5.2svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between"
243-
>
241+
<main class="h-full pt-[5.2svh] px-[5vw] flex flex-col justify-between">
244242
<section>
245243
<Hero title="Log in to your account" class="mb-4">
246244
{#snippet subtitle()}

infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ onMount(async () => {
336336
</ButtonAction>
337337
</div>
338338

339-
<p class="mt-2 text-center">
339+
<p class="mt-2 text-center pb-12">
340340
Already have a pre-verification code? <button
341341
onclick={handlePreVerified}
342342
class="text-primary-500">Click Here</button
@@ -440,7 +440,7 @@ onMount(async () => {
440440
{/if}
441441
</article>
442442

443-
<div class="flex-none pt-8 pb-4">
443+
<div class="flex-none pt-8 pb-12">
444444
{#if !loading && !checkingHardware}
445445
<div class="flex w-full items-stretch gap-3">
446446
<div class="flex-1">

infrastructure/eid-wallet/src/routes/(auth)/register/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ onMount(async () => {
101101
</script>
102102

103103
<main
104-
class="h-full pt-[5.2svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between"
104+
class="h-full pt-[5.2svh] px-[5vw] pb-[8svh] flex flex-col justify-between"
105105
>
106106
<section>
107107
{#if currentStep === "CREATE"}

infrastructure/eid-wallet/src/routes/(auth)/review/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ onMount(async () => {
2020
</script>
2121

2222
<main
23-
class="h-full pt-[5.2svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between"
23+
class="h-full pt-[5.2svh] px-[5vw] pb-[8svh] flex flex-col justify-between"
2424
>
2525
<section>
2626
<Hero title="Here’s your eName" class="mb-4">

infrastructure/eid-wallet/src/routes/(auth)/verify/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ onDestroy(() => {
453453
{/if}
454454
</div>
455455

456-
<div class="flex-none px-[5vw] pb-[4.5svh] pt-4">
456+
<div class="flex-none px-[5vw] pb-[8svh] pt-4">
457457
{#if !loading}
458458
<div class="flex w-full items-stretch gap-3">
459459
<ButtonAction

infrastructure/eid-wallet/src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ $effect(() => {
681681
></div>
682682
<div
683683
bind:this={mainWrapper}
684-
class="bg-white h-screen overflow-scroll pt-10"
684+
class="bg-white h-screen overflow-scroll py-10"
685685
>
686686
{#if children}
687687
{@render children()}

0 commit comments

Comments
 (0)