Created
August 12, 2019 08:55
-
-
Save codeepic/08a32f0bd220d8046981bc844e3e6c07 to your computer and use it in GitHub Desktop.
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
/* | |
* this will ensure that the page doesn't jump left and right when | |
* navigating between the pages with and without the scrollbar | |
*/ | |
html { | |
overflow-x: hidden; | |
width: 100vw; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment