Skip to content

Commit

Permalink
fix: use flexbox instead of font-size to ensure the icon is centered (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored Nov 28, 2024
1 parent 1851844 commit 939f5fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/button/src/button/button.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ export default css`
margin-inline-end: 6px;
color: inherit;
fill: inherit;
font-size: 26px;
vertical-align: middle;
display: inline-flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
Expand Down

0 comments on commit 939f5fa

Please sign in to comment.