Template:Infobox/mobileviewfix.css

From The Global Wiki
< Template:Infobox
Revision as of 08:31, 3 April 2022 by en>Great Brightstar (Undid revision 1080759717 by Great Brightstar (talk) - Fix regression for Template:Infobox IPA)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* {{pp-template}}
The mobile skin (Minerva) generally inject display: block property to tables to make them scrollable on your phone screen. This could give benefits for large contents, but may also caused some smaller tables shortened and shift to left, even if they are set width:100% property. This is happened in numerous infoboxes.
*/
body.skin-minerva .infobox table {
	display: table;
}
body.skin-minerva .infobox caption {
	display: table-caption;
}