Skip to content

Commit 601ea58

Browse files
committed
fix: identityCard style (aim for pixel perfect)
1 parent 0ee981b commit 601ea58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

infrastructure/eid-wallet/src/lib/fragments/IdentityCard/IdentityCard.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $effect(() => {
5555
<Button.Icon icon={ViewIcon} iconColor={"white"} strokeWidth={2} onclick={viewBtn} />
5656
</div>
5757
{:else if variant === 'ePassport'}
58-
<p class="bg-white text-black flex items-center rounded-4xl px-5 py-2 text-xs font-semibold">HIGH SECURITY</p>
58+
<p class="bg-white text-black flex items-center leading-0 justify-center rounded-full h-7 px-5 text-xs font-medium">HIGH SECURITY</p>
5959
<Button.Icon icon={ViewIcon} iconColor={"white"} strokeWidth={2} onclick={viewBtn} />
6060

6161
{:else if variant === 'eVault'}
@@ -64,9 +64,9 @@ $effect(() => {
6464
</div>
6565
<div>
6666
{#if variant === "eName"}
67-
<p class="text-gray font-light">Your eName</p>
67+
<p class="text-gray font-normal">Your eName</p>
6868
<div class="flex items-center justify-between w-full">
69-
<p class="text-white w-[60%] font-medium">@{userId}</p>
69+
<p class="text-white w-full font-medium">@{userId}</p>
7070
</div>
7171
{:else if variant === "ePassport"}
7272
<div class="flex gap-2 flex-col">

0 commit comments

Comments
 (0)