mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
fix: header tooltip on menu items instead of inner links
This commit is contained in:
parent
48efec4d4f
commit
2619b4fd2f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user