adding context menu to entities list

This commit is contained in:
dswbx
2025-01-18 09:05:35 +01:00
parent 7ddcfc89b4
commit 89b29256cf
8 changed files with 339 additions and 156 deletions

View File

@@ -191,7 +191,7 @@ export const SidebarLink = <E extends React.ElementType = "a">({
className={twMerge(
"flex flex-row px-4 py-2.5 items-center gap-2",
!disabled &&
"cursor-pointer rounded-md [&.active]:bg-primary/10 [&.active]:hover:bg-primary/15 [&.active]:font-medium hover:bg-primary/5 link",
"cursor-pointer rounded-md [&.active]:bg-primary/10 [&.active]:hover:bg-primary/15 [&.active]:font-medium hover:bg-primary/5 focus:bg-primary/5 link",
disabled && "opacity-50 cursor-not-allowed pointer-events-none",
className
)}