Last active
September 3, 2018 06:28
-
-
Save Troland/603c122e391f7969ab1c696f927aa742 to your computer and use it in GitHub Desktop.
// prevent container such as body scroll along with the dialog
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
.no-scroll { | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
-webkit-overflow-scrolling: touch; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment