MediaWiki:Mobile.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 5: Line 5:
}
}


/* Make iframes responsive on mobile */
/* Make extension iframes mobile-friendly */
iframe {
iframe {
  width: 100% !important;
   max-width: 100%;
   max-width: 100%;
  width: 100%;
   height: auto;
   height: auto;
   border: none;
   border: none;
}
}


/* Ensure iframe containers are not stripped by MobileFrontend */
/* Prevent MobileFrontend from removing iframe container */
.no-remove iframe {
.no-remove iframe {
   display: block;
   display: block;
   width: 100%;
   height: 500px; /* Adjust height to suit your content */
  height: auto;
}
}