Jump to content
Health NZ Taranaki Lab Manual

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;
}
}

Revision as of 12:41, 23 July 2025

/* All CSS here will be loaded for users of the mobile site */

* {
  font-family: Poppins, Arial, sans-serif;
}

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

/* Prevent MobileFrontend from removing iframe container */
.no-remove iframe {
  display: block;
  height: 500px; /* Adjust height to suit your content */
}