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, tooltip,
children, children,
}) => ( }) => (
<li> <li class="tooltip tooltip-bottom" data-tip={tooltip}>
<A <A class="rounded-box" href={href}>
class="tooltip rounded-box tooltip-bottom"
href={href}
data-tip={tooltip}
>
{children} {children}
</A> </A>
</li> </li>