style(header_nav): 🩹 align dropdown menu to end

This commit is contained in:
Hubert Chen 2024-03-11 07:45:08 +08:00
parent 92d4c6c5bd
commit 534f60c77c
Signed by: trle5
GPG Key ID: 2935B4DE0D6F7720
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
<a class="!rounded-btn" class:font-bold={link === path} href={link}>{text}</a>
</li>
{:else if children}
<li class="dropdown dropdown-hover">
<li class="dropdown dropdown-hover dropdown-end">
<span class:font-bold={children.some(({ link }) => link === path)} class="!rounded-btn gap-1">
{text}
<span class="i-heroicons-solid-chevron-down -mr-1" />