Changs
This commit is contained in:
parent
414ea2eadf
commit
bf64b6363b
@ -41,7 +41,7 @@
|
||||
|
||||
<span class="flag " [ngStyle]="{ 'background-image': 'url(assets/img/' + translate.getCurrentLang() + '.jpg)'}"></span>
|
||||
<!--<span class="flag" ngIf="translate.getCurrentLang() =='de'" style="background-image: url('assets/img/german.jpg')"></span>-->
|
||||
<select class="langbut py-2 ml-1" #langSelect (change)="translate.changeLang(langSelect.value)">
|
||||
<select class="langbut py-2 mx-1" #langSelect (change)="translate.changeLang(langSelect.value)">
|
||||
<option *ngFor="let lang of translate.getLanguage()" [value]="lang" [selected]="lang == translate.getCurrentLang()">{{translate.langLabel[lang]}}</option>
|
||||
</select>
|
||||
<i class="arrow_drpdwn"></i>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<div class="nav-item dropdown bg-white px-2 d-inline-block ml-2 order-1 order-sm-2">
|
||||
<span class="flag " [ngStyle]="{ 'background-image': 'url(assets/img/' + translate.getCurrentLang() + '.jpg)'}"></span>
|
||||
<!--<span class="flag" ngIf="translate.getCurrentLang() =='de'" style="background-image: url('assets/img/german.jpg')"></span>-->
|
||||
<select class="langbut py-2 ml-1" #langSelect (change)="translate.changeLang(langSelect.value)">
|
||||
<select class="langbut py-2 mx-1" #langSelect (change)="translate.changeLang(langSelect.value)">
|
||||
<option *ngFor="let lang of translate.getLanguage()" [value]="lang" [selected]="lang == translate.getCurrentLang()">{{translate.langLabel[lang]}}</option>
|
||||
</select>
|
||||
<i class="arrow_drpdwn"></i>
|
||||
|
@ -28,7 +28,6 @@
|
||||
<div class="col-md-3">
|
||||
<div
|
||||
class="text-center detail_div"
|
||||
[ngStyle]="{ 'min-height.px': minHeight }"
|
||||
>
|
||||
<p class="mb-0 desc">{{ "home.BLOCKCHAIN_HEIGHT" | translate }}</p>
|
||||
<p
|
||||
@ -42,7 +41,6 @@
|
||||
<div class="col-md-3">
|
||||
<div
|
||||
class="text-center detail_div"
|
||||
[ngStyle]="{ 'min-height.px': minHeight }"
|
||||
>
|
||||
<p class="mb-0 desc">{{ "home.LATEST_BLOCK" | translate }}</p>
|
||||
<p
|
||||
@ -81,7 +79,6 @@
|
||||
<div class="col-md-3">
|
||||
<div
|
||||
class="text-center detail_div"
|
||||
[ngStyle]="{ 'min-height.px': minHeight }"
|
||||
>
|
||||
<p class="mb-0 desc">{{ "home.COIN_IN" | translate }}</p>
|
||||
<p
|
||||
|
@ -36,7 +36,7 @@ export class BlockDetailListComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
this.minHeight = this.elementView.nativeElement.offsetHeight;
|
||||
// this.minHeight = this.elementView.nativeElement.offsetHeight;
|
||||
}
|
||||
|
||||
getBlockDetails() {
|
||||
|
@ -286,6 +286,7 @@ a:focus {
|
||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
|
||||
padding: 20px;
|
||||
transition: 0.3s linear all;
|
||||
min-height: 100%;
|
||||
}
|
||||
.detail_div .count {
|
||||
font-size: 25px;
|
||||
|
Loading…
Reference in New Issue
Block a user