Difference between revisions of "MediaWiki:Common.css"

From
Jump to navigation Jump to search
m (Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
Line 3: Line 3:
 
/* Make images responsive */
 
/* Make images responsive */
 
.res-img img {
 
.res-img img {
max-width: 100% !important;
+
    max-width: 100% !important;
height: auto !important;
+
    height: auto !important;
 
}
 
}

Latest revision as of 16:35, 22 June 2021

/* CSS placed here will be applied to all skins */

/* Make images responsive */
.res-img img {
    max-width: 100% !important;
    height: auto !important;
}