Remove 0.8em default overlay hack
authorEd Sanders <esanders@wikimedia.org>
Fri, 23 Mar 2018 00:42:46 +0000 (00:42 +0000)
committerEd Sanders <esanders@wikimedia.org>
Fri, 23 Mar 2018 00:43:48 +0000 (00:43 +0000)
This fixes the font size on Special:ApiSandbox when expanded.

Change-Id: I72d825f0da014383f5b82272a816f09f41c6027b

resources/Resources.php
resources/src/oojs-ui-local.css [deleted file]

index 488f715..a424b59 100644 (file)
@@ -2825,7 +2825,6 @@ return [
                'class' => ResourceLoaderOOUIFileModule::class,
                'styles' => [
                        'resources/lib/oojs-ui/wikimedia-ui-base.less', // Providing Wikimedia UI LESS variables to all
                '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' ],
                ],
                '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 (file)
index b98ba13..0000000
+++ /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;
-}