Improve Checkin Badges To Display Answer Text
dalezak opened this issue · comments
Dale Zak commented
Dale Zak commented
@caharding @justinscherer what do you think of the proposed design?
Dale Zak commented
Here's the snippet for the changes:
<div class="badges" *ngIf="checkin">
<div class="badge" [style.width]="badge.width" *ngFor="let badge of getBadges()">
<ion-badge [style.background]="badge.color" [style.color]="white" [title]="badge.text">
<strong>{{badge.number}}</strong>
<div class="truncate">
<small ion-text color="white">{{badge.text}}</small>
</div>
</ion-badge>
</div>
</div>