Skip to content

Commit

Permalink
src/app/community-list-page: remove newlines in links
Browse files Browse the repository at this point in the history
The newlines cause whitespace to be enapsulated in the rendered link.

(cherry picked from commit 7bedf7f)
  • Loading branch information
alanorth authored and github-actions[bot] committed Jan 19, 2024
1 parent 0ed96d8 commit f2f5156
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
</button>
<div class="d-flex flex-row">
<span class="align-middle pt-2 lead">
<a [routerLink]="node.route" class="lead">
{{ dsoNameService.getName(node.payload) }}
</a>
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
<span class="pr-2">&nbsp;</span>
<span *ngIf="node.payload.archivedItemsCount >= 0" class="badge badge-pill badge-secondary align-top archived-items-lead">{{node.payload.archivedItemsCount}}</span>
</span>
Expand Down Expand Up @@ -73,9 +71,7 @@
<span class="fa fa-chevron-right invisible" aria-hidden="true"></span>
</button>
<h6 class="align-middle pt-2">
<a [routerLink]="node.route" class="lead">
{{ dsoNameService.getName(node.payload) }}
</a>
<a [routerLink]="node.route" class="lead">{{ dsoNameService.getName(node.payload) }}</a>
</h6>
</div>
<ds-truncatable [id]="node.id">
Expand Down

0 comments on commit f2f5156

Please sign in to comment.