diff --git a/skin.json b/skin.json index 5cef59dd2..cfe28f0d1 100644 --- a/skin.json +++ b/skin.json @@ -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" ], diff --git a/skinStyles/mediawiki.page.gallery.slideshow.less b/skinStyles/mediawiki.page.gallery.slideshow.less new file mode 100644 index 000000000..32966a73c --- /dev/null +++ b/skinStyles/mediawiki.page.gallery.slideshow.less @@ -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; +}