Skip to content

Commit

Permalink
feat(Career): reduce opacity for locked role nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonknittel committed Jan 13, 2025
1 parent 3e4cb50 commit b823ae8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/career/components/nodes/RoleNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ export const RoleNode = (props: NodeProps<RoleNode>) => {
className={clsx(
"bg-neutral-800 rounded h-full p-4 flex justify-center items-center",
{
"grayscale hover:grayscale-0": !unlocked,
"grayscale opacity-40 hover:grayscale-0 hover:opacity-100":
!unlocked,
"opacity-40 grayscale-0": "redacted" in props.data,
},
)}
Expand Down

0 comments on commit b823ae8

Please sign in to comment.