Skip to content

Commit

Permalink
ios safari
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon committed Mar 1, 2021
1 parent 34a1c2b commit 33dca86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/App.module.css
Expand Up @@ -2,6 +2,9 @@
display: grid;
grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
overflow: hidden;
height: 100%;
height: -webkit-fill-available;
min-height: 100%;
}

@media (min-width: 800px) {
Expand Down
6 changes: 3 additions & 3 deletions src/index.css
Expand Up @@ -9,22 +9,22 @@
padding: 0;
}

html,
body,
#__next,
#root {
height: 100%;
height: -webkit-fill-available;
}

html {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: -webkit-fill-available;
}

body {
background-color: var(--color-background);
color: var(--color-foreground);
min-height: 100vh;
min-height: -webkit-fill-available;
}

0 comments on commit 33dca86

Please sign in to comment.