OOjs UI: Fix font size for default overlay
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 14 Dec 2017 01:29:19 +0000 (02:29 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 2 Jan 2018 21:21:58 +0000 (21:21 +0000)
Menus/popups inside the default overlay suffer from the same issue as
dialogs, as described in the comment here.

Bug: T183069
Depends-On: Ied0541209c4a9d7bf8c0574b0a864ba09fff1b70
Change-Id: I53888581f9e1da3b036166613c46cbc1085aa55e

resources/src/oojs-ui-local.css

index 57e0d8d..148c4c7 100644 (file)
@@ -1,6 +1,8 @@
-/* HACK: Set sane font-size for OOjs UI dialogs, 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 {
+/* HACK: Set sane font-size for OOjs UI 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;
 }