mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
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:
parent
ed5b113ce9
commit
22a8b6c5d5
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
// This is in a separate block, so that browsers supporting :hover but not :checked still apply the rule above
|
// This is in a separate block, so that browsers supporting :hover but not :checked still apply the rule above
|
||||||
// Support: IE8
|
// Support: IE8
|
||||||
.vector-menu-checkbox:checked ~ .vector-menu-content-list {
|
.vector-menu-checkbox:checked ~ .vector-menu-content .vector-menu-content-list {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue