Skip to content

Commit

Permalink
fix(icon): add position relative css
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Nov 26, 2018
1 parent 1adadbf commit 3631a7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/icon/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class LyIcon extends LyIconMixinBase implements OnChanges, OnInit {
this._theme.addStyle('lyIconRoot', theme => (
`font-size:${theme.icon.fontSize};` +
`width:1em;` +
`position:relative;` +
`height:1em;` +
`display:inline-flex;`
), this._el.nativeElement, undefined, STYLE_PRIORITY);
Expand Down

0 comments on commit 3631a7c

Please sign in to comment.