diff --git a/.changeset/shaggy-ways-complain.md b/.changeset/shaggy-ways-complain.md new file mode 100644 index 000000000..4ee5021f1 --- /dev/null +++ b/.changeset/shaggy-ways-complain.md @@ -0,0 +1,5 @@ +--- +"@hopper-ui/icons": patch +--- + +Fix an issue preventing pointer events on icons diff --git a/packages/icons/src/Icon.module.css b/packages/icons/src/Icon.module.css index f1a66a304..b4fd98331 100644 --- a/packages/icons/src/Icon.module.css +++ b/packages/icons/src/Icon.module.css @@ -1,10 +1,6 @@ .hop-Icon { - pointer-events: none; - display: inline-block; flex-shrink: 0; - color: inherit; - fill: currentcolor; } diff --git a/packages/icons/src/RichIcon.module.css b/packages/icons/src/RichIcon.module.css index e67fdfc3b..af3729983 100644 --- a/packages/icons/src/RichIcon.module.css +++ b/packages/icons/src/RichIcon.module.css @@ -4,7 +4,6 @@ --hop-richicon-placeholder-icon-color: var(--hop-decorative-option7-icon); --hop-richicon-placeholder-icon-strong-color: var(--hop-samoyed); - pointer-events: none; display: inline-block; flex-shrink: 0; }