From 9504b7fb9775d0ccf5579517de0e4813f4635a90 Mon Sep 17 00:00:00 2001 From: Eric Gardner Date: Fri, 25 Aug 2023 12:36:07 -0700 Subject: [PATCH] Add skinStyles for mediawiki.page.teleportTarget As part of the fix for T343476, we need to ensure that Dialog componenents which are teleported out of the main body content element still receive the appropriate font size from Vector. Bug: T343476 Depends-On: Ia79b76c0e73890dd18477e5c3ea307d753cedb3a Change-Id: I545df434f85f38c4074e2fcdfff51e686c9b465a --- skin.json | 1 + skinStyles/mediawiki.page.teleportTarget.less | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 skinStyles/mediawiki.page.teleportTarget.less diff --git a/skin.json b/skin.json index 4c2cc975f..54f783810 100644 --- a/skin.json +++ b/skin.json @@ -445,6 +445,7 @@ "+mediawiki.action.edit": "skinStyles/mediawiki.action.edit.less", "+mediawiki.action.view.redirectPage": "skinStyles/mediawiki.action.view.redirectPage.less", "+mediawiki.notification": "skinStyles/mediawiki.notification.less", + "+mediawiki.page.teleportTarget": "skinStyles/mediawiki.page.teleportTarget.less", "+oojs-ui-core.styles": "skinStyles/ooui.less", "mediawiki.special": "skinStyles/mediawiki.special.less", "mediawiki.special.search.interwikiwidget.styles": "skinStyles/mediawiki.special.search.interwikiwidget.less", diff --git a/skinStyles/mediawiki.page.teleportTarget.less b/skinStyles/mediawiki.page.teleportTarget.less new file mode 100644 index 000000000..6578cdc5a --- /dev/null +++ b/skinStyles/mediawiki.page.teleportTarget.less @@ -0,0 +1,5 @@ +@import '../resources/common/variables.less'; + +#mw-teleport-target { + font-size: @font-size-base; +}