fix: some duplications and tags
This commit is contained in:
@@ -11,11 +11,16 @@ export default function SideMenuItem({ href, title, icon, className, children, .
|
||||
<Link
|
||||
{...restProps}
|
||||
href={href}
|
||||
className={`inline-flex gap-2 ps-8 border-transparent text-disabled-text text-[0.7rem] items-center font-light text-nowrap overflow-hidden h-6
|
||||
data-[active]:border-s-6 data-[active]:border-black data-[active]:text-black ${className}`}>
|
||||
className={`
|
||||
inline-flex gap-2 ps-8 items-center h-6 overflow-hidden text-nowrap
|
||||
text-[0.7rem] font-light text-disabled-text border-transparent
|
||||
data-[active]:border-s-6 data-[active]:border-black data-[active]:text-black
|
||||
${className}
|
||||
`}
|
||||
>
|
||||
{children}
|
||||
{icon}
|
||||
<div>{title}</div>
|
||||
<span className="flex-shrink-0">{icon}</span>
|
||||
<span>{title}</span>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user