fix: opacity for disabled menu items

This commit is contained in:
shadcn 2022-11-17 19:29:14 +04:00
parent 1c418b1ae5
commit b3e0936838

View file

@ -35,7 +35,7 @@ export function MainNav({ items, children }: MainNavProps) {
className={cn(
"flex items-center text-lg font-semibold text-slate-600 sm:text-sm",
item.href.startsWith(`/${segment}`) && "text-slate-900",
item.disabled && "cursor-not-allowed opacity-60"
item.disabled && "cursor-not-allowed opacity-80"
)}
>
{item.title}