From d650ed4b8a61e986df3cd3693ea1d516c8ce227f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 14 Dec 2017 02:29:19 +0100 Subject: [PATCH] OOjs UI: Fix font size for default overlay 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/src/oojs-ui-local.css b/resources/src/oojs-ui-local.css index 57e0d8d8c6..148c4c7285 100644 --- a/resources/src/oojs-ui-local.css +++ b/resources/src/oojs-ui-local.css @@ -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; } -- 2.20.1