From aa45edd2f29b81b059d6856e945011cccbd81545 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 18 Aug 2020 12:38:39 -0700 Subject: [PATCH] Refactor: Drop legacy selectors These are no longer needed. The classes remain where necessary for gadgets but the CSS rules no longer need to apply to them. Change-Id: I18afa15ddab75128463dc83c916e11436db0575a --- resources/skins.vector.styles/Menu.less | 4 +--- resources/skins.vector.styles/MenuPortal.less | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/resources/skins.vector.styles/Menu.less b/resources/skins.vector.styles/Menu.less index 881969a7d..df6ca2dbb 100644 --- a/resources/skins.vector.styles/Menu.less +++ b/resources/skins.vector.styles/Menu.less @@ -14,9 +14,7 @@ } /* Personal */ -.vector-menu, -/* FIXME: Remove p-personal selector when cache has cleared. */ -#p-personal { +.vector-menu { // Hidden by default, but displayed by certain menus // e.g. MenuPortal h3 { diff --git a/resources/skins.vector.styles/MenuPortal.less b/resources/skins.vector.styles/MenuPortal.less index 57e53a9d8..411239904 100644 --- a/resources/skins.vector.styles/MenuPortal.less +++ b/resources/skins.vector.styles/MenuPortal.less @@ -1,8 +1,6 @@ @import '../../variables.less'; @import 'mediawiki.mixins.less'; -// FIXME: For cached HTML -.portal, .vector-menu-portal { margin: 0 @margin-end-portal 0 @margin-start-portal; padding: 0.25em 0;