mediawiki-skins-Vector/includes/templates/MainMenuDropdown.mustache
bwang a348db9969 Add generic classes to pinnable container
Bug: T324877
Change-Id: Iab94f9f600f8e6d032ad70d6b8e502686977441c
2022-12-20 17:22:11 -06:00

9 lines
407 B
Plaintext

{{#data-main-menu-dropdown}}{{>Dropdown/Open}}{{/data-main-menu-dropdown}}
{{#data-main-menu}}
{{>PinnableContainer/Unpinned/Open}}
{{! Use `#vector-main-menu-unpinned-container .vector-main-menu` to target styles at this element}}
{{^is-pinned}}{{>MainMenu}}{{/is-pinned}}
{{>PinnableContainer/Close}}
{{/data-main-menu}}
{{#data-main-menu-dropdown}}{{>Dropdown/Close}}{{/data-main-menu-dropdown}}