From 29a8f6a09e7835dc011267681ed91861a11643fe Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sun, 23 Jun 2024 03:17:33 +0000 Subject: [PATCH] Refactor address table to improve cell wrapping --- .../components/address/address.component.html | 121 ++++++++---------- frontend/src/styles.scss | 8 ++ 2 files changed, 61 insertions(+), 68 deletions(-) diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html index cc4858355..8fc09345f 100644 --- a/frontend/src/app/components/address/address.component.html +++ b/frontend/src/app/components/address/address.component.html @@ -24,39 +24,42 @@
- - - - + + + + @if (network === 'liquid' || network === 'liquidtestnet') { - + } @else { - + } - +
} @else {
- +
- - - @if (network === 'liquid' || network === 'liquidtestnet') { - - } @else { - - } - -
-
-
- - - - - + + + + + + + + + + + + @if (network === 'liquid' || network === 'liquidtestnet') { + + } @else { + + } + + +
@@ -159,30 +162,21 @@ } @else {
- +
- - + - - -
-
-
- - - + - - + @@ -234,61 +228,52 @@ + + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - + - + \ No newline at end of file diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 6ffa6a134..929a55c97 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -375,6 +375,14 @@ main { background-color: var(--stat-box-bg); } +.dual-col-striped tbody tr:nth-of-type(odd) td:not(.spacer) { + background-color: var(--stat-box-bg); +} + +.dual-col-striped tbody tr td.spacer { + width: 30px; +} + .bordertop { border-top: 1px solid #4c4c4c; }
Confirmed balance
Confirmed balance
Unconfirmed balance
Unconfirmed balance
Confirmed UTXOs{{ chainStats.utxos }}
Confirmed UTXOs{{ chainStats.utxos }}
Unconfirmed UTXOs{{ mempoolStats.utxos > 0 ? '+' : ''}}{{ mempoolStats.utxos }}
Unconfirmed UTXOs{{ mempoolStats.utxos > 0 ? '+' : ''}}{{ mempoolStats.utxos }}
Total received
Total received
Type - - - - -
Type + + + + +
Unconfidential