Auto-close nav dropdown

This commit is contained in:
Matthias 2023-04-07 17:47:34 +02:00
parent a4e3567870
commit a33b071736

View File

@ -65,7 +65,7 @@
</li> </li>
<li v-if="botStore.hasBots" class="nav-item"> <li v-if="botStore.hasBots" class="nav-item">
<!-- Hide dropdown on xs, instead show below --> <!-- Hide dropdown on xs, instead show below -->
<b-nav-item-dropdown id="avatar-drop" right class="d-none d-sm-block"> <b-nav-item-dropdown id="avatar-drop" right auto-close class="d-none d-sm-block">
<template #button-content> <template #button-content>
<b-avatar size="2em" button>FT</b-avatar> <b-avatar size="2em" button>FT</b-avatar>
</template> </template>