From a32c1f40b1f61420afc56b2e703bcff1d7ead4e9 Mon Sep 17 00:00:00 2001 From: softsimon Date: Fri, 30 Jul 2021 23:14:45 +0300 Subject: [PATCH] Restoring About page. Fix for KEEP_BLOCKS_AMOUNT setting. Show up to 2 mempool blocks. --- .../components/blockchain-blocks/blockchain-blocks.component.ts | 2 +- .../src/app/components/blockchain/blockchain.component.scss | 2 +- .../liquid-master-page/liquid-master-page.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts index af6ac35c7..9af5d9e4c 100644 --- a/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts +++ b/frontend/src/app/components/blockchain-blocks/blockchain-blocks.component.ts @@ -60,7 +60,7 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy { } this.blocks.unshift(block); - this.blocks = this.blocks.slice(0, 8); + this.blocks = this.blocks.slice(0, this.stateService.env.KEEP_BLOCKS_AMOUNT); if (this.blocksFilled && !this.tabHidden) { block.stage = block.matchRate >= 66 ? 1 : 2; diff --git a/frontend/src/app/components/blockchain/blockchain.component.scss b/frontend/src/app/components/blockchain/blockchain.component.scss index aa9a9b494..efbdb31ef 100644 --- a/frontend/src/app/components/blockchain/blockchain.component.scss +++ b/frontend/src/app/components/blockchain/blockchain.component.scss @@ -27,7 +27,7 @@ } .position-container.liquid { - left: 210px; + left: 420px; } @media (max-width: 767.98px) { diff --git a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html index 29b0c8fd9..b0070bf64 100644 --- a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html +++ b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html @@ -47,7 +47,7 @@