ui: Click off the identity menu to close it.

This commit is contained in:
Cory McWilliams 2024-11-09 14:52:54 -05:00
parent ce483138d7
commit f1dda43e66

View File

@ -162,6 +162,7 @@ class TfNavigationElement extends LitElement {
class="w3-dropdown-content w3-bar-block w3-card-4" class="w3-dropdown-content w3-bar-block w3-card-4"
style="max-width: 100%; right: 0" style="max-width: 100%; right: 0"
> >
<div style="position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.25); z-index: -100" @click=${self.toggle_id_dropdown}></div>
<button <button
class="w3-bar-item w3-button w3-border" class="w3-bar-item w3-button w3-border"
@click=${() => (window.location.href = '/~core/identity')} @click=${() => (window.location.href = '/~core/identity')}