Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 869e1b0

Browse files
Core (CSS): Added reset for iframes.
1 parent 89ec5b6 commit 869e1b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/structure/jquery.mobile.core.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
.ui-mobile, .ui-mobile body { height: 99.9%; }
33
.ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
44
.ui-mobile a img, .ui-mobile fieldset { border-width: 0; }
5+
/* Android 2.3 doesn't hide iframes */
6+
.ui-mobile .ui-screen-hidden iframe { height: 0; width: 0; border: 0; margin: 0; padding: 0; }
7+
.ui-mobile iframe { max-width: 100% !important; }
58

69
/* responsive page widths */
710
.ui-mobile-viewport { margin: 0; overflow-x: visible; -webkit-text-size-adjust: none; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

0 commit comments

Comments
 (0)