Merge "Hide figcaptions for plain and frameless figures"

This commit is contained in:
jenkins-bot 2022-09-27 20:33:46 +00:00 committed by Gerrit Code Review
commit c5e826f307

View file

@ -45,6 +45,14 @@
caption-side: bottom;
}
figure[ typeof~='mw:File' ],
figure[ typeof~='mw:File/Frameless' ] {
/* Hide the caption for frameless and plain floated images */
> figcaption {
display: none;
}
}
// Parsoid class name is mw-image-border (T198534) and parser (PHP) class name is thumbborder
.mw-image-border,
.thumbborder {