Skip to content

Commit e9681af

Browse files
authored
feat: setup safe area (#80)
* feat: setup safe area * chore: simplify implementation * chore: format
1 parent 236ae45 commit e9681af

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

infrastructure/eid-wallet/src/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,8 @@
7171

7272
body {
7373
font-family: "Archivo", sans-serif;
74+
padding-top: env(safe-area-inset-top);
75+
padding-bottom: env(safe-area-inset-bottom);
76+
padding-left: env(safe-area-inset-left);
77+
padding-right: env(safe-area-inset-right);
7478
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ onMount(async () => {
3030
{:else}
3131
{@render children?.()}
3232
{/if}
33-

0 commit comments

Comments
 (0)