Show miner tag under blocks in the mining dashboard

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

No files matched your search

@@ -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>
@@ -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);
}
}
}
@@ -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(