Center wrapping error message on mobile

This commit is contained in:
nymkappa 2023-02-25 13:43:48 +09:00
parent 8df2476266
commit 9a246c68de
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<div class="clearfix"></div>
<div *ngIf="error" class="d-flex flex-column justify-content-around align-items-center mt-5 w-100" style="min-height: 100px">
<span i18n="lightning.channel-not-found">No channel found for short id "{{ channel.short_id }}"</span>
<span class="text-center" i18n="lightning.channel-not-found">No channel found for short id "{{ channel.short_id }}"</span>
</div>
<app-nodes-channels-map *ngIf="!error && (channelGeo$ | async) as channelGeo" [style]="'channelpage'"

View File

@ -17,7 +17,7 @@
<div class="clearfix"></div>
<div *ngIf="error" class="d-flex flex-column justify-content-around align-items-center mt-5 w-100" style="min-height: 100px">
<span i18n="lightning.node-not-found">No node found for public key "{{ node.public_key | shortenString : 12}}"</span>
<span class="text-center" i18n="lightning.node-not-found">No node found for public key "{{ node.public_key | shortenString : 12}}"</span>
</div>
<div class="box" *ngIf="!error">