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

This commit is contained in:
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

View file

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