mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Make use of mw-file-element class
Added to core in Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b Applies the border more generally. Bug: T314097 Change-Id: I884010c6b84b2dcb4dfc55f7b4cab9fefd3f6786
This commit is contained in:
parent
31e4a207ff
commit
a59bf8066e
|
@ -49,8 +49,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parsoid class name is mw-image-border (T198534) and parser (PHP) class name is thumbborder
|
// Parsoid class name is mw-image-border (T198534) and parser (PHP) class name is thumbborder
|
||||||
// However, Parsoid places the class on the wrapper, whereas the legacy parser placed it on the img
|
// However, Parsoid places the class on the wrapper, whereas the legacy parser placed it on
|
||||||
.mw-image-border img,
|
// the file element.
|
||||||
|
.mw-image-border .mw-file-element,
|
||||||
.thumbborder {
|
.thumbborder {
|
||||||
border: @border-subtle;
|
border: @border-subtle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue