Difference between revisions of "Template:Graph:Chart/styles.css"
Jump to navigation
Jump to search
imported>Great Brightstar (←Created page with '→Prevent overflow behavior in mobile skins,: body.skin-minerva div.mw-graph { max-width: 100%; overflow: auto; }') |
imported>Dtester10 |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | /* Prevent overflow behavior in mobile skins | + | /* {{pp-template}} */ |
| − | body.skin-minerva div.mw-graph { | + | /* 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; | ||
} | } | ||
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;
}