From 8f4910153a1bc3fc69685d612e5fbd644abece41 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Fri, 17 Feb 2023 00:24:34 -0500 Subject: [PATCH] =?UTF-8?q?fix(core):=20=20=F0=9F=90=9B=20incorrect=20thum?= =?UTF-8?q?bnail=20center=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skinning/content.media-common.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/skins.citizen.styles/skinning/content.media-common.less b/resources/skins.citizen.styles/skinning/content.media-common.less index 93c00995..824bd0d1 100644 --- a/resources/skins.citizen.styles/skinning/content.media-common.less +++ b/resources/skins.citizen.styles/skinning/content.media-common.less @@ -112,5 +112,13 @@ figure[ typeof~='mw:File/Frame' ] { /* @noflip */ float: left; } + + &.mw-halign-center { + margin-right: auto; + margin-left: auto; + clear: both; + float: none; + text-align: center; + } } }