diff --git a/resources/skins.minerva.base.styles/content/thumbnails.less b/resources/skins.minerva.base.styles/content/thumbnails.less index 551cb59f6..bd69d1a53 100644 --- a/resources/skins.minerva.base.styles/content/thumbnails.less +++ b/resources/skins.minerva.base.styles/content/thumbnails.less @@ -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; }