Skip to content

Commit 42e3f36

Browse files
committed
refactor(web-icons): update icon styles
1 parent 33d0dfa commit 42e3f36

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.changeset/yellow-dingos-knock.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@tapsioss/web-icons": patch
3+
---
4+
5+
Update icon styles
6+

packages/web-icons/src/base-icon.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ class BaseIcon extends HTMLElement {
118118
:host {
119119
color: currentColor;
120120
121-
display: inline-block;
121+
display: flex;
122+
align-items: center;
123+
justify-content: center;
122124
123125
width: ${width};
124126
height: ${height};

0 commit comments

Comments
 (0)