Skip to content

Commit

Permalink
Fix display tooltip for help icons in disabled menu items. (#19093)
Browse files Browse the repository at this point in the history
* Fix display tooltip for help icons in disabled menu items.

* Adding changelog
  • Loading branch information
linuspahl committed Apr 24, 2024
1 parent 0218130 commit 1f37b95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/issue-19092.toml
@@ -0,0 +1,5 @@
type="f"
message="Fix display tooltip for help icons in disabled menu items."

issues=["19092"]
pulls=["19093"]
Expand Up @@ -45,6 +45,7 @@ const StyledIcon = styled(Icon)<{ $type: Type, $displayLeftMargin: boolean }>(({
color: ${$type === 'error' ? theme.colors.variant.danger : 'inherit'};
margin: 0;
margin-left: ${$displayLeftMargin ? '0.3em' : 0};
pointer-events: auto !important;
`);

const iconName = (type: Type) => {
Expand Down

0 comments on commit 1f37b95

Please sign in to comment.