From ad9492896de6e7ffe9769905e43cba8c41bbbe80 Mon Sep 17 00:00:00 2001 From: Esanders Date: Mon, 15 Nov 2021 18:03:50 +0000 Subject: [PATCH] Revert "Fix font size in editor preview" This reverts commit 058551e9b98785e3b3fb587361a23a108bdd6bbc. Bug: T287733 Bug: T295712 Change-Id: Ic239d1334f09d2a1ecbb7f28d69abd0a349128e5 --- resources/common/typography.less | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resources/common/typography.less b/resources/common/typography.less index 6fcf579..6f10e11 100644 --- a/resources/common/typography.less +++ b/resources/common/typography.less @@ -70,12 +70,6 @@ pre, } } -// FIXME: All styles here should apply to .mw-body-content eventually. -// The problem is lots of user, gadgets, styles and scripts -// make assumptions about the font-size being set on the parent .vector-body element. -// This however breaks integrations with extensions that replicate mw-body-content element -// See [[phab:T287733]]. -.mw-body-content:not( #mw-content-text ), .vector-body { font-size: @font-size-base; // Support IE 9-11, Trident cuts values 2 digits after decimal point.