[go: up one dir, main page]

Page MenuHomePhabricator

New Vector: Unable to hide portlet links by ID
Closed, ResolvedPublic

Description

The folllowing is a common snippet among users:

#pt-sandbox, #pt-betafeatures {
    display: none;
}

When trying out New Vector, this is overridden by:

#p-personal li {
    display: inline-block;
}

That selector probably doesn't need to be that strong :)

Event Timeline

Jdlrobson changed the task status from Open to Stalled.Jul 30 2020, 4:23 PM

Yeh, we talked about this one a while ago - the issue is that the personal menu has no distinguishing CSS selector (all menus have .vector-menu).

The plan was to map this to

.vector-menu-personal li {
    display: inline-block;
}

Based on your feedback in https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/605693 and some feedback from gadget developers who've not liked the vector specific classes I'm planning instead to move this code to core first to standardize these class names before adding a new one.

So this is stalled on T256897 https://gerrit.wikimedia.org/r/c/mediawiki/core/+/615321

Jdlrobson claimed this task.

This should be fixed now.