Difference between revisions of "Template:Graph:Chart/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>Great Brightstar
m
imported>Great Brightstar
(Add exception for larger screen)
Line 1: Line 1:
 
/* Prevent overflow behavior in mobile skins. */
 
/* Prevent overflow behavior in mobile skins. */
body.skin-minerva div.mw-graph {
+
@media all and ( min-width: 720px ) {
min-width: auto !important;
+
body.skin-minerva div.mw-graph {
max-width: 100%;
+
min-width: auto !important;
overflow-x: auto;
+
max-width: 100%;
overflow-y: visible;
+
overflow-x: auto;
 +
overflow-y: visible;
 +
}
 
}
 
}

Revision as of 14:23, 13 December 2018

/* Prevent overflow behavior in mobile skins. */
@media all and ( min-width: 720px ) {
	body.skin-minerva div.mw-graph {
		min-width: auto !important;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: visible;
	}
}