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:
Arlo Breault 2023-05-24 19:18:15 -04:00
parent 31e4a207ff
commit a59bf8066e

View file

@ -49,8 +49,9 @@
}
// 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
.mw-image-border img,
// However, Parsoid places the class on the wrapper, whereas the legacy parser placed it on
// the file element.
.mw-image-border .mw-file-element,
.thumbborder {
border: @border-subtle;
}