Skip to content

Commit

Permalink
Update tooltip style to conditionally apply pointer events based on t…
Browse files Browse the repository at this point in the history
…ooltip type
  • Loading branch information
ishpaul777 committed Jan 17, 2025
1 parent 46b9e89 commit b45d352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/utils/generators/TooltipStyleUtils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const createTooltipStyleUtils: StyleUtilGenerator<GetTooltipStylesStyleUtil> = (

// We are adding this to prevent the tooltip text from being selected and copied on CTRL + A.
...styles.userSelectNone,
...styles.pointerEventsNone,
...(!isEducationTooltip ? styles.pointerEventsNone : {}),
},
textStyle: {
color: theme.textReversed,
Expand Down

0 comments on commit b45d352

Please sign in to comment.