Fixes issue with height in slideshow

Depends-On: I5c372f8b1bbc44af9c5855baa7ee825ff42fbc96
Bug: T194887
Change-Id: I3904bb158eebe96983ce3318e1e39a6f056624fd
This commit is contained in:
Jon Robson 2023-01-06 10:05:42 -08:00 committed by Jdlrobson
parent f1b7ed796d
commit 1ac1cdfd7e
2 changed files with 13 additions and 0 deletions

View file

@ -169,6 +169,9 @@
},
"ResourceModuleSkinStyles": {
"minerva": {
"mediawiki.page.gallery.slideshow": [
"skinStyles/mediawiki.page.gallery.slideshow.less"
],
"ext.echo.styles.badge": [
"skinStyles/ext.echo.styles.badge.less"
],

View file

@ -0,0 +1,10 @@
// reset default padding on ul element.
ul.gallery.mw-gallery-slideshow {
padding: 0;
}
// Resets the responsive `.content a > img` rule
.content .mw-gallery-slideshow-img-container a > img {
height: 100% !important;
max-width: none !important;
}