mediawiki-skins-Citizen/templates/PageTools__more.mustache
alistair3149 516ef3a1cb
feat(dropdown): revamp dropdown menu handling
Putting the dropdown content in the details elemenet have been inconsistent.
Transition are not working correctly and different browsers are not handling it well.
Furthermore, the previous implementation does not allow an always visible state of dropdown content.

Fixes: #882
2024-07-03 16:07:19 -04:00

17 lines
663 B
Plaintext

<div class="page-actions-more page-actions__item citizen-dropdown">
<details class="citizen-dropdown-details">
<summary
class="citizen-dropdown-summary"
title="{{msg-citizen-actions-more-toggle}}"
aria-details="page-actions-more__card">
<span class="citizen-ui-icon mw-ui-icon-wikimedia-ellipsis"></span>
<span>{{msg-citizen-actions-more-toggle}}</span>
</summary>
</details>
<aside id="page-actions-more__card" class="citizen-menu__card">
{{#pagetools-visible}}
{{#data-portlets.data-actions}}{{>Menu}}{{/data-portlets.data-actions}}
{{/pagetools-visible}}
{{#data-article-tools}}{{>Menu}}{{/data-article-tools}}
</aside>
</div>