Skip to content

Commit

Permalink
feat(module: badge): add span to badge text (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
sWhite01111 authored and fisherspy committed Nov 29, 2018
1 parent 5602e3b commit e362320
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/badge/badge.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<ng-content></ng-content>
<sup *ngIf="dot || text"
[ngClass]="scrollNumberCls"
[ngStyle]="style">{{text}}
[ngStyle]="style">
<span>{{text}}</span>
</sup>

0 comments on commit e362320

Please sign in to comment.