Merge "Fixes issue with height in slideshow"

This commit is contained in:
jenkins-bot 2023-01-09 22:40:08 +00:00 committed by Gerrit Code Review
commit 5ffccb331d
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;
}