Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Jan 27, 2025
1 parent 11ad0bf commit f06a1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<!-- Sign In -->
<div v-if="isFireBaseSet" id="signin" class="d-flex align-items-center ms-2">

<div class="dropstart">
<div class="dropdown">
<button class="btn dropdown-toggle d-flex align-items-center flex-row jn-fs"
:class="{ 'btn-outline-light': isDarkMode, 'btn-dark': !isDarkMode }" type="button"
data-bs-toggle="dropdown" :data-bs-theme="isDarkMode ? 'dark' : ''" aria-expanded="false">
Expand All @@ -69,7 +69,7 @@
&nbsp;{{store.user.displayName}}
</span>
</button>
<ul class="dropdown-menu" :data-bs-theme="isDarkMode ? 'dark' : ''">
<ul class="dropdown-menu dropdown-menu-end" :data-bs-theme="isDarkMode ? 'dark' : ''">
<li v-if="!store.user"><a type="button" class="dropdown-item" @click="store.signInWithGoogle"><i
class="bi bi-google"></i> {{ t('user.SignInWithGoogle') }}</a></li>
<li v-if="store.user"><a type="button" class="dropdown-item" @click="store.signOut"><i
Expand Down

0 comments on commit f06a1ff

Please sign in to comment.