Difference between revisions of "Template:Graph:Chart/styles.css"
Jump to navigation
Jump to search
imported>Pppery (Adding protection template) |
imported>Yair rand (force .mw-graph-img { width: inherit; height: inherit; } as a temporary measure to work around phab:T216431 (graphs don't display on mobile)) |
||
| Line 8: | Line 8: | ||
overflow-y: visible; | overflow-y: visible; | ||
} | } | ||
| + | } | ||
| + | |||
| + | .mw-graph-img { | ||
| + | width: inherit; | ||
| + | height: inherit; | ||
} | } | ||
Revision as of 19:58, 17 March 2019
/* {{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;
}