Skip to content

Commit

Permalink
feat: put sign-in icon to default "Sign in" button (#2736)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored Apr 1, 2024
1 parent 4313002 commit 611d556
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/nav/NavUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ const { busy, oauth, singleInstanceServer } = useSignIn()
<strong>{{ currentServer }}</strong>
</i18n-t>
</button>
<button v-else btn-solid text-sm px-2 py-1 text-center xl:hidden @click="openSigninDialog()">
<button
v-else
flex="~ row"
gap-x-1 items-center justify-center btn-solid text-sm px-2 py-1 xl:hidden
@click="openSigninDialog()"
>
<span aria-hidden="true" block i-ri:login-circle-line class="rtl-flip" />
{{ $t('action.sign_in') }}
</button>
</template>
Expand Down

0 comments on commit 611d556

Please sign in to comment.