mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 07:24:10 +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…
x
Reference in New Issue
Block a user