fix: make the user switcher's buttons fill container (#1437)

zio/stable
Alex Liu 2023-01-25 13:49:31 +08:00 committed by GitHub
parent 0e021e4388
commit 1d1f4bccca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ const clickUser = (user: UserLogin) => {
is="button"
:text="$t('user.add_existing')"
icon="i-ri:user-add-line"
w-full
@click="openSigninDialog"
/>
<CommonDropdownItem
@ -49,6 +50,7 @@ const clickUser = (user: UserLogin) => {
v-if="isHydrated && currentUser"
:text="$t('user.sign_out_account', [getFullHandle(currentUser.account)])"
icon="i-ri:logout-box-line rtl-flip"
w-full
@click="signout"
/>
</div>