Difference between revisions of "Template:Graph:Chart/styles.css"
Jump to navigation
Jump to search
imported>Great Brightstar m (Canceling min-width properties) |
imported>Dtester10 |
||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| + | /* {{pp-template}} */ | ||
/* Prevent overflow behavior in mobile skins. */ | /* Prevent overflow behavior in mobile skins. */ | ||
| − | body.skin-minerva div.mw-graph { | + | @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;
}