Fix dropdown menu checkbox hack's CSS selector

`ul.vector-menu-content-list` was wrapped into `div.vector-menu-content`, thus becoming the sibling of
`input.vector-menu-checkbox`:
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/589395/39/includes/templates/Menu.mustache#15
Rename of `.vectorMenuCheckbox` to `.vector-menu-checkbox`:
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/597849/7/includes/templates/Menu.mustache#7

Follow-up to: Id59234aa6b822a24848386bdc04d8d7ed37ca145 and I00b4d2fd795195cd9c8add650a3b3cafdced5465

Bug: T255069
Change-Id: I299f4648acf83d2abdad274851e0960fe09a70b1
This commit is contained in:
AronDemian 2020-06-12 13:52:11 +02:00
parent ed5b113ce9
commit 22a8b6c5d5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
// This is in a separate block, so that browsers supporting :hover but not :checked still apply the rule above
// Support: IE8
.vector-menu-checkbox:checked ~ .vector-menu-content-list {
.vector-menu-checkbox:checked ~ .vector-menu-content .vector-menu-content-list {
opacity: 1;
visibility: visible;
}