Created
September 22, 2021 17:03
-
-
Save fakerybakery/eacb7fef4f009e5008585198251c1507 to your computer and use it in GitHub Desktop.
This simple CSS file prevents overscrolling but has major bugs on Safari in iOS 15.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
overflow: hidden; | |
} | |
body { | |
height: 100%; | |
overflow: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment