From 9e02cb77139639703c5113f08a9e59d02456f83e Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Wed, 14 Jun 2023 15:58:58 -0400 Subject: [PATCH] Style thumbs in places that don't set a content language Bug: T337804 Depends-On: I23a2c4f812c57cbd7801c4d5aae84ca4d696d542 Change-Id: I0b58fd5a9957226ac1842a45885ee758efe43cb9 --- .../content/tablet/common.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/skins.minerva.base.styles/content/tablet/common.less b/resources/skins.minerva.base.styles/content/tablet/common.less index 7f1019cbe..23f7837a4 100644 --- a/resources/skins.minerva.base.styles/content/tablet/common.less +++ b/resources/skins.minerva.base.styles/content/tablet/common.less @@ -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;