Add x-close button to block.

This commit is contained in:
softsimon 2020-07-19 22:54:31 +07:00
parent b34648389c
commit caf5ae944a
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,12 @@
<div class="container-xl">
<div class="title-block">
<h1>Block <ng-template [ngIf]="blockHeight"><a [routerLink]="['/block/' | relativeUrl, blockHash]">{{ blockHeight }}</a></ng-template></h1>
<h1 class="float-left">Block <ng-template [ngIf]="blockHeight"><a [routerLink]="['/block/' | relativeUrl, blockHash]">{{ blockHeight }}</a></ng-template></h1>
<button [routerLink]="['/' | relativeUrl]" class="btn btn-sm float-right mr-2 mt-2">&#10005;</button>
</div>
<div class="clearfix"></div>
<ng-template [ngIf]="!isLoadingBlock && !error">
<div class="box">

View File

@ -2,7 +2,7 @@
<div class="title-block">
<h1 class="float-left">{{ getGetOrdinal() }}</h1>
<button [routerLink]="['/' | relativeUrl]" class="btn btn-sm float-right mr-2">&#10005;</button>
<button [routerLink]="['/' | relativeUrl]" class="btn btn-sm float-right mr-2 mt-2">&#10005;</button>
</div>
<div class="clearfix"></div>