Skip to content

Commit 981bca1

Browse files
committed
fix: dropdown menu style
1 parent 9d86d97 commit 981bca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/preference.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ function goToPrev() {
213213
<button class="btn btn-outline btn-sm" type="button" :disabled="!loggedIn" @click="handleLogout">
214214
<span>登出</span>
215215
</button>
216-
<details class="dropdown">
216+
<details class="dropdown dropdown-end">
217217
<summary class="btn btn-ghost btn-sm">
218218
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
219219
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01" />
220220
</svg>
221221
</summary>
222-
<ul class="menu dropdown-content bg-base-300 rounded-box z-1 w-52 p-2 shadow-sm">
222+
<ul class="menu mt-1 dropdown-content bg-base-300 rounded-box z-1 w-52 p-2 shadow-sm">
223223
<li>
224224
<NuxtLink class="justify-between" to="/auth/merge">
225225
合并账户

0 commit comments

Comments
 (0)