fix: enhance account switcher dropdown styling for better usability (#99)

This commit is contained in:
Gabriel Jablonski 2025-08-25 12:05:49 -03:00 committed by GitHub
parent cbe30f5fb3
commit 43e83a678d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,10 @@ const emitNewAccount = () => {
/>
</button>
</template>
<DropdownBody v-if="showAccountSwitcher" class="min-w-80 z-50">
<DropdownBody
v-if="showAccountSwitcher"
class="min-w-80 z-50 max-h-[80vh] overflow-y-auto"
>
<DropdownSection :title="t('SIDEBAR_ITEMS.SWITCH_ACCOUNT')">
<DropdownItem
v-for="account in sortedCurrentUserAccounts"