MediaWiki:Common.js: Difference between revisions

From OtherX
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
body {
/* Disable user scaling on mobile devices */
    max-width: 100%; /* or a specific value */
@media only screen and (max-width: 767px) {
    margin: 0 auto; /* center the content */
    body {
        touch-action: manipulation;
        zoom: 1.0 !important;
        -ms-touch-action: manipulation;
    }
}
}

Revision as of 19:41, 24 December 2023

/* Disable user scaling on mobile devices */
@media only screen and (max-width: 767px) {
    body {
        touch-action: manipulation;
        zoom: 1.0 !important;
        -ms-touch-action: manipulation;
    }
}