Forked from Mao8a/fix-to-iOS-iframe-height-issue.html
Last active
August 29, 2015 14:15
-
-
Save bsalex/93d7745a305d0a53f116 to your computer and use it in GitHub Desktop.
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
Fix to iOS iframe height issue | |
<iframe id="stupid-iframe" height="200" src="a-file.html"></iframe> | |
<html> | |
<body> | |
<div class="iframe-wrapper" style="width: 100%; height: 200px; overflow: auto; -webkit-overflow-scrolling: touch;"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment