mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +00:00
Merge "Fixes issue with height in slideshow"
This commit is contained in:
commit
5ffccb331d
|
@ -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"
|
||||
],
|
||||
|
|
10
skinStyles/mediawiki.page.gallery.slideshow.less
Normal file
10
skinStyles/mediawiki.page.gallery.slideshow.less
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue