Merge "Media border option applies to the media element, not the wrapper"

This commit is contained in:
jenkins-bot 2022-11-02 23:02:22 +00:00 committed by Gerrit Code Review
commit 27965530c3
2 changed files with 2 additions and 6 deletions

View file

@ -63,7 +63,8 @@
}
// Parsoid class name is mw-image-border (T198534) and parser (PHP) class name is thumbborder
.mw-image-border,
// However, Parsoid places the class on the wrapper, whereas the legacy parser placed it on the img
.mw-image-border img,
.thumbborder {
border: 1px solid @colorGray12;
}

View file

@ -36,8 +36,3 @@ figure[ typeof~='mw:Audio/Frame' ] {
// Centered on non-tablet
margin: 0 auto;
}
/* T198534 */
.mw-image-border {
display: inline-block;
}