mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Fixes issue with height in slideshow
Depends-On: I5c372f8b1bbc44af9c5855baa7ee825ff42fbc96 Bug: T194887 Change-Id: I3904bb158eebe96983ce3318e1e39a6f056624fd
This commit is contained in:
parent
f1b7ed796d
commit
1ac1cdfd7e
|
@ -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