This commit is contained in:
SuriyaR 2019-08-08 12:20:49 +05:30
parent 414ea2eadf
commit bf64b6363b
5 changed files with 4 additions and 6 deletions

View File

@ -41,7 +41,7 @@
<span class="flag " [ngStyle]="{ 'background-image': 'url(assets/img/' + translate.getCurrentLang() + '.jpg)'}"></span> <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>--> <!--<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> <option *ngFor="let lang of translate.getLanguage()" [value]="lang" [selected]="lang == translate.getCurrentLang()">{{translate.langLabel[lang]}}</option>
</select> </select>
<i class="arrow_drpdwn"></i> <i class="arrow_drpdwn"></i>

View File

@ -36,7 +36,7 @@
<div class="nav-item dropdown bg-white px-2 d-inline-block ml-2 order-1 order-sm-2"> <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 " [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>--> <!--<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> <option *ngFor="let lang of translate.getLanguage()" [value]="lang" [selected]="lang == translate.getCurrentLang()">{{translate.langLabel[lang]}}</option>
</select> </select>
<i class="arrow_drpdwn"></i> <i class="arrow_drpdwn"></i>

View File

@ -28,7 +28,6 @@
<div class="col-md-3"> <div class="col-md-3">
<div <div
class="text-center detail_div" class="text-center detail_div"
[ngStyle]="{ 'min-height.px': minHeight }"
> >
<p class="mb-0 desc">{{ "home.BLOCKCHAIN_HEIGHT" | translate }}</p> <p class="mb-0 desc">{{ "home.BLOCKCHAIN_HEIGHT" | translate }}</p>
<p <p
@ -42,7 +41,6 @@
<div class="col-md-3"> <div class="col-md-3">
<div <div
class="text-center detail_div" class="text-center detail_div"
[ngStyle]="{ 'min-height.px': minHeight }"
> >
<p class="mb-0 desc">{{ "home.LATEST_BLOCK" | translate }}</p> <p class="mb-0 desc">{{ "home.LATEST_BLOCK" | translate }}</p>
<p <p
@ -81,7 +79,6 @@
<div class="col-md-3"> <div class="col-md-3">
<div <div
class="text-center detail_div" class="text-center detail_div"
[ngStyle]="{ 'min-height.px': minHeight }"
> >
<p class="mb-0 desc">{{ "home.COIN_IN" | translate }}</p> <p class="mb-0 desc">{{ "home.COIN_IN" | translate }}</p>
<p <p

View File

@ -36,7 +36,7 @@ export class BlockDetailListComponent implements OnInit {
} }
ngAfterViewInit() { ngAfterViewInit() {
this.minHeight = this.elementView.nativeElement.offsetHeight; // this.minHeight = this.elementView.nativeElement.offsetHeight;
} }
getBlockDetails() { getBlockDetails() {

View File

@ -286,6 +286,7 @@ a:focus {
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
padding: 20px; padding: 20px;
transition: 0.3s linear all; transition: 0.3s linear all;
min-height: 100%;
} }
.detail_div .count { .detail_div .count {
font-size: 25px; font-size: 25px;