-/* 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;
}