Difference between revisions of "Template:Graph:Chart/styles.css"
Jump to navigation
Jump to search
imported>Dtester10 |
imported>Dtester10 |
||
| Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
| − | /* Prevent overflow behavior in mobile skins | + | /* Prevent overflow behavior in mobile skins. */ |
@media all and ( max-width: 720px ) { | @media all and ( max-width: 720px ) { | ||
| − | body.skin-minerva | + | body.skin-minerva div.mw-graph { |
| − | |||
min-width: auto !important; | min-width: auto !important; | ||
max-width: 100%; | max-width: 100%; | ||
Latest revision as of 19:08, 14 April 2020
/* {{pp-template}} */
/* Prevent overflow behavior in mobile skins. */
@media all and ( max-width: 720px ) {
body.skin-minerva div.mw-graph {
min-width: auto !important;
max-width: 100%;
overflow-x: auto;
overflow-y: visible;
}
}
.mw-graph-img {
width: inherit;
height: inherit;
}