Merge "Style thumbs in places that don't set a content language"

This commit is contained in:
jenkins-bot 2023-06-14 22:10:48 +00:00 committed by Gerrit Code Review
commit 33b2b037a7

View file

@ -24,10 +24,18 @@ A file for css that optimises the Minerva skin on larger devices.
}
// stylelint-enable selector-max-id
// Defaults for page content language
// These will be overriden below when explicit classes are set
figure[ typeof~='mw:File/Thumb' ],
figure[ typeof~='mw:File/Frame' ] {
// Default where page content language is not set
// Allow to flip
clear: right;
float: right;
margin-left: 1.4em;
margin-right: 0;
// Defaults for page content language
// These will be overriden below when explicit classes are set
.mw-content-ltr & {
/* @noflip */
float: right;