From 0ac33528352cf1936bf2e997a2d20889841873c5 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sat, 10 Sep 2022 15:57:06 +0000 Subject: [PATCH 1/2] tweak block preview (height & hash side by side) --- .../block/block-preview.component.html | 10 +++++-- .../block/block-preview.component.scss | 28 +++++++++++++++++-- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/components/block/block-preview.component.html b/frontend/src/app/components/block/block-preview.component.html index 666714b24..4e75abdc1 100644 --- a/frontend/src/app/components/block/block-preview.component.html +++ b/frontend/src/app/components/block/block-preview.component.html @@ -4,15 +4,19 @@
-
-
+
+

Genesis {{ blockHeight }}

+

+ {{ blockHash.slice(0,20) }} +
+ …{{ blockHash.slice(-19) }} +

- {{blockHash.slice(0,-4)}}{{blockHash.slice(-4)}}