update: adding whitespace rules to the NavbarMenuItem component

This commit is contained in:
falendikategar 2024-10-09 16:11:36 +07:00
parent b0ff2f82b3
commit 298e1b7ef1

View File

@ -86,7 +86,7 @@ export default function MenuItem({ menu, isActive, onClick }: Props) {
<Icon className="w-4 h-4" /> <Icon className="w-4 h-4" />
</span> </span>
{/* Label */} {/* Label */}
<span className="text-xs font-bold">{menu.label}</span> <span className="text-xs font-bold whitespace-normal">{menu.label}</span>
</div> </div>
{/* Chevron Icon */} {/* Chevron Icon */}
{hasChildren && ( {hasChildren && (