/

iOS Safari bug

https://github.com/postcss/postcss-100vh-fix
css

This solves the popular problem when 100vh doesn’t fit the mobile browser screen.

css
body {
height: 100vh;
// or
min-height: 100vh;
}
@supports (-webkit-touch-callout: none) {
body {
height: -webkit-fill-available;
}
}
Edit this page
Want to make your own site like this?
Try gatsby-theme-code-notes by Zander Martineau.
Notes on code. My second brain, by Zander Martineau.