mediawiki-skins-Vector/includes/templates/PinnableDropdownContents.mustache
Jan Drewniak 69f3dcd7a7 Prepare styles for Page Tools menu
Makes the dropdown styles compatible with the pinned state of the
menu so that both states can share the same styles.

- New vector-menu-heading mixin shared between main menu headings
  and dropdown headings.
- New @font-size-dropdown variable so font-size is consistent in
  dropdown and pinned state.
- Ensure hidden 'more' menu works in both pinned and dropdown state.
- Removes extra <ul><li> from PinnableDropdownContents.mustache, as the
  child Menu template already contain <ul><li> elements.

Bug: T318434
Change-Id: Ie1a56d8584c1dc3f20c6643ff4cfc740be4007fa
2022-11-22 12:57:29 -05:00

5 lines
177 B
Plaintext

<div id="{{id}}-content" class="vector-dropdown-content">
{{#data-pinnable-header}}{{>PinnableHeader}}{{/data-pinnable-header}}
{{#data-menus}}{{>Menu}}{{/data-menus}}
</div>