mediawiki-skins-Citizen/templates/Drawer__button.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

14 lines
356 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
}}
<summary
class="citizen-dropdown-summary"
title="{{msg-citizen-drawer-toggle}}"
aria-details="citizen-drawer__card">
<span class="citizen-ui-icon">
<span></span>
<span></span>
<span></span>
</span>
<span>{{msg-citizen-drawer-toggle}}</span>
</summary>