mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 01:38:28 +00:00
fix: opacity for disabled menu items
This commit is contained in:
parent
1c418b1ae5
commit
b3e0936838
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue