Skip to content

Commit

Permalink
fix: make the user switcher's buttons fill container (#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini-ghost authored Jan 25, 2023
1 parent 0e021e4 commit 1d1f4bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/user/UserSwitcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ const clickUser = (user: UserLogin) => {
is="button"
:text="$t('user.add_existing')"
icon="i-ri:user-add-line"
w-full
@click="openSigninDialog"
/>
<CommonDropdownItem
is="button"
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>
Expand Down

0 comments on commit 1d1f4bc

Please sign in to comment.