MediaWiki:Mobile.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 5: | Line 5: | ||
} | } | ||
/* Make iframes | /* Make extension iframes mobile-friendly */ | ||
iframe { | iframe { | ||
width: 100% !important; | |||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
border: none; | border: none; | ||
} | } | ||
/* | /* Prevent MobileFrontend from removing iframe container */ | ||
.no-remove iframe { | .no-remove iframe { | ||
display: block; | display: block; | ||
height: 500px; /* Adjust height to suit your content */ | |||
} | } | ||