mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Fix a minor issue that added extra spacing
This commit is contained in:
parent
a500d475b8
commit
65af14991c
@ -68,7 +68,6 @@
|
||||
<span class="event-content clickable" [ngClass]="{ 'event-content-big': content && content.length < 7 }">
|
||||
<ng-container *ngFor="let token of dynamicText">
|
||||
<ng-template [ngIf]="isString(token)">{{ token }}</ng-template>
|
||||
|
||||
<ng-template [ngIf]="!isString(token) && isFollowing" [ngSwitch]="token.token">
|
||||
<ng-container *ngSwitchCase="'username'"><a class="reply-link" [routerLink]="['/p', token.word]">@{{ getDisplayName(token.word) }}</a></ng-container>
|
||||
<ng-container *ngSwitchCase="'link'"><a [href]="[token.word]" target="_blank">{{ token.word }}</a></ng-container>
|
||||
|
@ -297,7 +297,7 @@ export class ContentComponent {
|
||||
}
|
||||
} else {
|
||||
if (!res[i]) res[i] = token;
|
||||
else res[i] += ' ' + token;
|
||||
else res[i] += token;
|
||||
}
|
||||
}
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user