Created
August 20, 2018 14:58
-
-
Save interactiveRob/aec4fd794e4247055625063659b1f641 to your computer and use it in GitHub Desktop.
Stop overflowing elements from causing horizontal scroll on iOS
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 must be applied to the overflowing element's direct parent. If no parent, wrap the overflowing element in a div.boundary | |
| .boundary{ | |
| width: 100%; | |
| overflow-x: hidden; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment