mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 00:20:51 +00:00
7eab78cb5e
T140804 dropped the support for deviceTabletWidth in core (https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/451648/9/includes/DefaultSettings.php) This causes errors in these skinStyle files which are presumably not being checked with CI. Update these usages to use width-breakpoint-tablet instead Bug: T202021 Change-Id: Ie804f24275c99c939687d59cca9d62204fd74518
18 lines
453 B
Plaintext
18 lines
453 B
Plaintext
@import '../../minerva.less/minerva.variables';
|
|
@import '../../minerva.less/minerva.mixins';
|
|
|
|
// Hacks to render galleries and multicol tables better on mobile
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
// Center images that might be less than the screen width.
|
|
// Image will appear centered and caption will take up full screen.
|
|
.gallery {
|
|
.gallerybox {
|
|
width: 100% !important;
|
|
div {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
}
|
|
}
|