Allow address label to overflow without pushing UI

fixes #2544
This commit is contained in:
softsimon 2022-09-18 20:50:07 +02:00
parent 0694e71b14
commit b255f68a83
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 17 additions and 6 deletions

View File

@ -1,9 +1,16 @@
<a *ngIf="channel; else default" [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">
<ng-template [ngIf]="channel" [ngIfElse]="default">
<div>
<div class="badge-positioner">
<a [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">
<span
*ngIf="label"
class="badge badge-pill badge-warning"
>{{ label }}</span>
</a>
</div>
&nbsp;
</div>
</ng-template>
<ng-template #default>
<span

View File

@ -1,3 +1,7 @@
.badge {
margin-right: 2px;
}
.badge-positioner {
position: absolute;
}