mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45: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,
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user