Show miner tag under blocks in the mining dashboard

This commit is contained in:
nymkappa
2022-02-17 22:57:10 +09:00
parent 5ab4c0e611
commit fb2c0345a7
6 changed files with 34 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
<div class="text-center" class="blockchain-wrapper animate" #container>
<div class="text-center" class="blockchain-wrapper" #container>
<div class="position-container {{ network }}">
<span>
<app-mempool-blocks></app-mempool-blocks>
<app-blockchain-blocks [showMiningInfo]="showMiningInfo"></app-blockchain-blocks>
<app-blockchain-blocks></app-blockchain-blocks>
<div id="divider"></div>
</span>
</div>

View File

@@ -59,14 +59,4 @@
width: 300px;
left: -150px;
top: 0px;
}
.animate {
transition: all 1s ease-in-out;
}
.move-left {
transform: translate(-40%, 0);
@media (max-width: 767.98px) {
transform: translate(-85%, 0);
}
}
}

View File

@@ -8,7 +8,6 @@ import { StateService } from 'src/app/services/state.service';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BlockchainComponent implements OnInit {
showMiningInfo: boolean = false;
network: string;
constructor(