minor improvement
This commit is contained in:
parent
193a70c6e8
commit
5baf55694c
|
@ -14,6 +14,7 @@ export default function SidebarHighlightLink({
|
||||||
return (
|
return (
|
||||||
<Link href={href}>
|
<Link href={href}>
|
||||||
<div
|
<div
|
||||||
|
title={title}
|
||||||
className={`${
|
className={`${
|
||||||
active || false
|
active || false
|
||||||
? "bg-primary/20"
|
? "bg-primary/20"
|
||||||
|
@ -28,7 +29,7 @@ export default function SidebarHighlightLink({
|
||||||
<i className={`${icon} text-primary text-2xl drop-shadow`}></i>
|
<i className={`${icon} text-primary text-2xl drop-shadow`}></i>
|
||||||
</div>
|
</div>
|
||||||
<div className={"mt-1"}>
|
<div className={"mt-1"}>
|
||||||
<p className="truncate w-full font-semibold text-sm">{title}</p>
|
<p className="truncate w-full font-semibold text-xs">{title}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Ŝarĝante…
Reference in New Issue