Skip to content

Commit

Permalink
fix: header tooltip on menu items instead of inner links
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Sep 1, 2023
1 parent 48efec4 commit 2619b4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2619b4f

Please sign in to comment.