Skip to content

Commit

Permalink
icon now react to pointer events (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs authored Apr 23, 2024
2 parents 6de6e82 + d78aefb commit 1e3c4bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-ways-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hopper-ui/icons": patch
---

Fix an issue preventing pointer events on icons
4 changes: 0 additions & 4 deletions packages/icons/src/Icon.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
.hop-Icon {
pointer-events: none;

display: inline-block;
flex-shrink: 0;

color: inherit;

fill: currentcolor;
}
1 change: 0 additions & 1 deletion packages/icons/src/RichIcon.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1e3c4bb

Please sign in to comment.