Skip to content

Commit

Permalink
🔨 add active/focus state to ContextMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Nov 4, 2021
1 parent 713a357 commit 3192422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client/src/components/context-menu/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ const components: Record<string, (...args: any[]) => any> = {
"rounded-sm px-2 py-1",
"dark:text-white",
"hover:bg-white/[0.12] dark:hover:bg-white/[0.05]",
"active:bg-white/[0.12] dark:active:bg-white/[0.05]",
"focus:bg-white/[0.12] dark:focus:bg-white/[0.05]",
"cursor-pointer",
rest.className,
)}
Expand Down

0 comments on commit 3192422

Please sign in to comment.