From 5782966cfb86b50db35bdf09d13c6be678c5c09c Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 23 Mar 2018 00:42:46 +0000 Subject: [PATCH 1/1] Remove 0.8em default overlay hack This fixes the font size on Special:ApiSandbox when expanded. Change-Id: I72d825f0da014383f5b82272a816f09f41c6027b --- resources/Resources.php | 1 - resources/src/oojs-ui-local.css | 8 -------- 2 files changed, 9 deletions(-) delete mode 100644 resources/src/oojs-ui-local.css diff --git a/resources/Resources.php b/resources/Resources.php index 488f715f62..a424b595b6 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -2825,7 +2825,6 @@ return [ 'class' => ResourceLoaderOOUIFileModule::class, 'styles' => [ 'resources/lib/oojs-ui/wikimedia-ui-base.less', // Providing Wikimedia UI LESS variables to all - 'resources/src/oojs-ui-local.css', // HACK, see inside the file ], 'themeStyles' => 'core', 'targets' => [ 'desktop', 'mobile' ], diff --git a/resources/src/oojs-ui-local.css b/resources/src/oojs-ui-local.css deleted file mode 100644 index b98ba13d6a..0000000000 --- a/resources/src/oojs-ui-local.css +++ /dev/null @@ -1,8 +0,0 @@ -/* HACK: Set sane font-size for OOUI dialogs (and menus/popups inside the default overlay), in - the most common case. This should be skin's responsibility, but alas our skins tend to have the - weirdest font-sizes on body. This shall be removed when we make the MediaWiki skins bundled with - tarball sane. (T91152) */ -body > .oo-ui-windowManager, -.oo-ui-defaultOverlay { - font-size: 0.8rem; -} -- 2.20.1