Skip to content

Commit

Permalink
Text wrapping issue with nbsp
Browse files Browse the repository at this point in the history
  • Loading branch information
cairthenn committed Mar 19, 2019
1 parent 55c75b1 commit 7e9545f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/messages/messages.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<span *ngSwitchCase="'twitch'">
<span *ngIf="settings.twitchEmotes; else noTwitch"><img class="cc-inline-block chat-emote" [src]="f.src" [alt]="f.code" ></span>
<ng-template #noTwitch>
<span>{{f.code}} </span>
<span>{{f.code}}</span>
</ng-template>
</span>
<span *ngSwitchCase="'emoji'">
Expand All @@ -109,18 +109,18 @@
<span>&nbsp;<strong>{{f.amount}}</strong></span>
</span>
<ng-template #noBits>
<span *ngIf="!settings.bits">{{f.name}}</span>
<span *ngIf="!settings.bits">{{f.name}} </span>
</ng-template>
</span>
<span *ngSwitchCase="'url'">
<a class="chat-link" (click)="service.openExternal(f.text)">{{f.text}} </a>
<a class="chat-link" (click)="service.openExternal(f.text)">{{f.text}}</a>
</span>
<span *ngSwitchCase="'username'">
<span class="chat-username">{{f.text}}</span>
</span>
<span *ngSwitchDefault>{{f.text}}</span>
</span>
<span>&nbsp;</span>
{{' '}}
</span>
</span>
</ng-template>
Expand Down

0 comments on commit 7e9545f

Please sign in to comment.