From 24d0ed4ced4cd0fb8e32b39e94c0225b326290ad Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 24 Jan 2025 01:56:15 +0000 Subject: [PATCH] fix next block merkle row layout --- .../src/app/components/pool/pool.component.html | 12 +++++++----- .../src/app/components/pool/pool.component.scss | 13 +++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/components/pool/pool.component.html b/frontend/src/app/components/pool/pool.component.html index f98794b68..35bad3af7 100644 --- a/frontend/src/app/components/pool/pool.component.html +++ b/frontend/src/app/components/pool/pool.component.html @@ -267,11 +267,13 @@ @for (branch of job.merkleBranches; track $index) { - @if ($index === 0 && branch) { - - } @else { - - } + + @if ($index === 0 && branch) { + + + + } + } @for (_ of [].constructor(Math.max(0, 12 - job.merkleBranches.length)); track $index) { diff --git a/frontend/src/app/components/pool/pool.component.scss b/frontend/src/app/components/pool/pool.component.scss index fa94227bd..26e6008b6 100644 --- a/frontend/src/app/components/pool/pool.component.scss +++ b/frontend/src/app/components/pool/pool.component.scss @@ -241,6 +241,19 @@ div.scrollable { td { position: relative; height: 2em; + + .cell-link { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + color: inherit; + text-decoration: none; + display: flex; + justify-content: center; + align-items: center; + } } }