Images should have borders in Android app / parsoid generated content
To test check out I5c1fdfc87a48764cbb53b7a751fbffc1a4e36fc5 `` $wgMFContentProviderClass = 'MobileFrontend\ContentProviders\McsContentProvider'; $wgMFMcsContentProviderBaseUri = "https://he.wikipedia.org/api/rest_v1"; ``` Navigate to http://localhost:8888/w/index.php/%D7%93%D7%92%D7%9C_%D7%99%D7%A4%D7%9F Bug: T198534 Change-Id: I19e9456895789abc413679105da46cbd4f9f0ce9
This commit is contained in:
parent
e7c497bda7
commit
05e6069ab6
|
@ -38,6 +38,9 @@
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Parsoid class name (T198534)
|
||||||
|
.mw-image-border,
|
||||||
|
// parser (PHP) class name
|
||||||
.thumbborder {
|
.thumbborder {
|
||||||
border: 1px solid @colorGray12;
|
border: 1px solid @colorGray12;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,11 @@ figure[ typeof*='mw:Audio' ] {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* T198534 */
|
||||||
|
.mw-image-border {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and ( min-width: @width-breakpoint-tablet ) {
|
@media screen and ( min-width: @width-breakpoint-tablet ) {
|
||||||
figure[ typeof*='mw:Image' ],
|
figure[ typeof*='mw:Image' ],
|
||||||
figure[ typeof*='mw:Video' ],
|
figure[ typeof*='mw:Video' ],
|
||||||
|
|
Loading…
Reference in New Issue