Forked from Mao8a/fix-to-iOS-iframe-height-issue.html
Created
February 22, 2017 13:32
-
-
Save shahzaibkhan/210115b422a71f4b3ffb39a0e5533cf1 to your computer and use it in GitHub Desktop.
HTML: Fix to iOS iframe height issue
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