Skip to content

Commit

Permalink
fix(components): fix cursor state on EmptySelectorButton
Browse files Browse the repository at this point in the history
When hovering an enabled `EmptySelectorButton`, (ex: walking through creating a protocol in PD
redesign and adding pipettes/modules), the cursor should be `pointer`.

Closes RQA-3197
  • Loading branch information
ncdiehl11 committed Sep 18, 2024
1 parent 4427fdd commit b9d5f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/src/atoms/buttons/EmptySelectorButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export function EmptySelectorButton(
border: none;
width: ${buttonSizing};
height: ${buttonSizing};
cursor: ${disabled ? 'default' : 'pointer'};
&:focus-visible {
outline: 2px solid ${COLORS.white};
box-shadow: 0 0 0 4px ${COLORS.blue50};
Expand Down

0 comments on commit b9d5f92

Please sign in to comment.