Created
July 20, 2017 20:26
-
-
Save bpb54321/0d2f85a8ad745ce5be88860878ab13c3 to your computer and use it in GitHub Desktop.
Fix for keeping body from scrolling when there is an overlay on iOS Safari 10.
This file contains hidden or 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
body { | |
overflow-y: scroll; | |
&.js-nav-menu-open, | |
&.js-social-menu-open, | |
&.js-search-menu-open { | |
position: fixed; | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment