Fix collapsible item behaviour

the user-links-collapsible-item class now applies to list items
not links

Follow up to 05a02a39fb59117c522678001d79b0d9dfdf63ca

Bug: T285960
Bug: T276566
Change-Id: I04fa303c4e95373fdf5ff090de1bba030386c286
This commit is contained in:
jdlrobson 2021-07-13 15:20:55 -07:00 committed by Jdlrobson
parent 66002b600f
commit 91e07c6b9a
1 changed files with 6 additions and 6 deletions

View File

@ -45,12 +45,6 @@
&:hover {
background-color: @background-color-secondary;
}
}
a {
display: block;
color: #000;
text-decoration: none;
&.user-links-collapsible-item {
@media ( min-width: @width-breakpoint-tablet ) {
@ -58,6 +52,12 @@
}
}
}
a {
display: block;
color: #000;
text-decoration: none;
}
}
// Copied from https://github.com/wikimedia/Vector/blob/master/resources/common/components/MenuDropdown.less#L88