Difference between revisions of "Template:Graph:Chart/styles.css"
Jump to navigation
Jump to search
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)) |
imported>Dtester10 |
||
| Line 1: | Line 1: | ||
/* {{pp-template}} */ | /* {{pp-template}} */ | ||
| − | /* Prevent overflow behavior in mobile skins. */ | + | /* Prevent overflow behavior in mobile skins and mobile apps (#pcs for the Page Content Service). */ |
@media all and ( max-width: 720px ) { | @media all and ( max-width: 720px ) { | ||
| − | body.skin-minerva div.mw-graph { | + | body.skin-minerva div.mw-graph, |
| + | #pcs div.mw-graph { | ||
min-width: auto !important; | min-width: auto !important; | ||
max-width: 100%; | max-width: 100%; | ||
Revision as of 18:58, 14 April 2020
/* {{pp-template}} */
/* Prevent overflow behavior in mobile skins and mobile apps (#pcs for the Page Content Service). */
@media all and ( max-width: 720px ) {
body.skin-minerva div.mw-graph,
#pcs div.mw-graph {
min-width: auto !important;
max-width: 100%;
overflow-x: auto;
overflow-y: visible;
}
}
.mw-graph-img {
width: inherit;
height: inherit;
}