Skip to content

Commit 69520c6

Browse files
madsrasmussennielslyngsoe
authored andcommitted
center align icons
1 parent 9409b3d commit 69520c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/uui-icon/lib/uui-icon.element.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ export class UUIIconElement extends LitElement {
139139
static styles = [
140140
css`
141141
:host {
142-
display: inline-block;
143-
vertical-align: bottom;
142+
display: inline-flex;
143+
align-items: center;
144+
justify-content: center;
144145
width: 1.125em;
145146
height: 1.125em;
146147
}

0 commit comments

Comments
 (0)