fix: header tooltip on menu items instead of inner links

This commit is contained in:
kunish 2023-09-02 02:39:02 +08:00
parent 48efec4d4f
commit 2619b4fd2f
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -22,12 +22,8 @@ const Nav: ParentComponent<{ href: string; tooltip: string }> = ({
tooltip,
children,
}) => (
<li>
<A
class="tooltip rounded-box tooltip-bottom"
href={href}
data-tip={tooltip}
>
<li class="tooltip tooltip-bottom" data-tip={tooltip}>
<A class="rounded-box" href={href}>
{children}
</A>
</li>