Skip to content

Commit

Permalink
fix: username style show bug (cuixueshe#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaolifeng0629 authored Apr 6, 2024
1 parent 13cf40d commit c391edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/client/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</nav>
</div>

<div class="login-out flex justify-end items-center flex-1">
<div class="login-out flex justify-end items-center">
<button
class="btn btn-sm btn-ghost rounded-md mx-1 w-8 h-8 p-0"
@click="toggleDarkMode"
Expand Down Expand Up @@ -97,7 +97,7 @@
</div>

<div class="logged-in flex items-center">
<div class="mx-2 font-500">{{ userStore.user?.username }}</div>
<div class="mx-2 font-500 truncate max-w-[10em]">{{ userStore.user?.username }}</div>
<div
v-if="userStore.user"
class="dropdown dropdown-end"
Expand Down

0 comments on commit c391edc

Please sign in to comment.