mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 14:22:44 +01:00
Merge pull request #2417 from mempool/nymkappa/bugfix/node-page-name-length
Truncate node alias if it's too long
This commit is contained in:
commit
9377df9646
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="container-xl" *ngIf="(node$ | async) as node">
|
<div class="container-xl" *ngIf="(node$ | async) as node">
|
||||||
<h5 class="mb-0" style="color: #ffffff66" i18n="lightning.node">Lightning node</h5>
|
<h5 class="mb-0" style="color: #ffffff66" i18n="lightning.node">Lightning node</h5>
|
||||||
<div class="title-container mb-2" *ngIf="!error">
|
<div class="title-container mb-2" *ngIf="!error">
|
||||||
<h1 class="mb-0">{{ node.alias }}</h1>
|
<h1 class="mb-0 text-truncate">{{ node.alias }}</h1>
|
||||||
<span class="tx-link">
|
<span class="tx-link">
|
||||||
<a [routerLink]="['/lightning/node' | relativeUrl, node.public_key]">
|
<a [routerLink]="['/lightning/node' | relativeUrl, node.public_key]">
|
||||||
{{ node.public_key | shortenString : publicKeySize }}
|
{{ node.public_key | shortenString : publicKeySize }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue