Page MenuHomePhabricator

Add a more specific class to the sidebar languages box in vector-2022
Closed, InvalidPublicFeature

Description

Feature summary (what you would like to be able to do and where):
In vector-2022 the sidebar languages box (telling users that this was moved) uses the generic class "mw-sidebar-action", please add an additional more specific class name here for this element so that it may be styled without being tied to future items that may use the generic class.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Some users want to hide this element, but have to use:

.mw-sidebar-action {
    display: none;
}

While this works, it appears to set up a future use problem, where that class name may apply to other "actions".

Benefits (why should this be implemented?):
Future-proof styling that should only apply to the languages box.

image.png (620×533 px, 38 KB)

Event Timeline

Xaosflux claimed this task.
Xaosflux moved this task from Needs triage to Technical on the Vector (legacy skin) board.

ok never mind, we can target
.mw-message-box-notice.vector-language-sidebar-alert.mw-message-box {

display: none;

}

cancelling

Aklapper renamed this task from Add a more specific class to the sidebar langauges box in vector-2022 to Add a more specific class to the sidebar languages box in vector-2022 .Mar 12 2022, 10:53 PM