Merge pull request #2565 from mempool/simon/address-label-overflow-fix
Allow address label to overflow without pushing UI
This commit is contained in:
commit
691f9aade1
@ -1,9 +1,16 @@
|
|||||||
<a *ngIf="channel; else default" [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">
|
<ng-template [ngIf]="channel" [ngIfElse]="default">
|
||||||
<span
|
<div>
|
||||||
*ngIf="label"
|
<div class="badge-positioner">
|
||||||
class="badge badge-pill badge-warning"
|
<a [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">
|
||||||
>{{ label }}</span>
|
<span
|
||||||
</a>
|
*ngIf="label"
|
||||||
|
class="badge badge-pill badge-warning"
|
||||||
|
>{{ label }}</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
|
||||||
<ng-template #default>
|
<ng-template #default>
|
||||||
<span
|
<span
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
.badge {
|
.badge {
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-positioner {
|
||||||
|
position: absolute;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user