Skip to content

Commit

Permalink
🚨 safari height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andriytyurnikov committed Sep 29, 2023
1 parent 214eda8 commit 4257224
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
min-h-full
h-full
;
min-height: -webkit-fill-available;
height: -webkit-fill-available;
}

body {
Expand Down
2 changes: 2 additions & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />

<meta name="theme-color" content="#282828" />
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>
Expand Down
2 changes: 2 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

<style lang="postcss">
main {
min-height: -webkit-fill-available;
@apply
min-w-full
w-full
Expand Down

0 comments on commit 4257224

Please sign in to comment.