From c5759be3eee7f0e4db4b81dd4583b7f60a6563f4 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 16 Jul 2020 14:36:02 +0700 Subject: [PATCH] Fix responsiveness. --- .../bisq-blocks/bisq-blocks.component.html | 36 ++++++------ .../bisq-transactions.component.html | 56 ++++++++++--------- frontend/src/styles.scss | 4 ++ 3 files changed, 51 insertions(+), 45 deletions(-) diff --git a/frontend/src/app/bisq/bisq-blocks/bisq-blocks.component.html b/frontend/src/app/bisq/bisq-blocks/bisq-blocks.component.html index df9821efe..929c9df74 100644 --- a/frontend/src/app/bisq/bisq-blocks/bisq-blocks.component.html +++ b/frontend/src/app/bisq/bisq-blocks/bisq-blocks.component.html @@ -4,24 +4,24 @@
- - - - - - - - - - - - - - - - - -
HashTotal Sent (BSQ)TransactionsHeightTime
{{ block.hash | shortenString : 13 }}{{ calculateTotalOutput(block) / 100 | number: '1.2-2' }}{{ block.txs.length }}{{ block.height }}{{ block.time | date:'yyyy-MM-dd HH:mm' }}
+
+ + + + + + + + + + + + + + + +
HeightTimestampTotal Sent (BSQ)Transactions
{{ block.height }}{{ block.time | date:'yyyy-MM-dd HH:mm' }}{{ calculateTotalOutput(block) / 100 | number: '1.2-2' }}{{ block.txs.length }}
+

diff --git a/frontend/src/app/bisq/bisq-transactions/bisq-transactions.component.html b/frontend/src/app/bisq/bisq-transactions/bisq-transactions.component.html index ee8071373..5a7f9cd7c 100644 --- a/frontend/src/app/bisq/bisq-transactions/bisq-transactions.component.html +++ b/frontend/src/app/bisq/bisq-transactions/bisq-transactions.component.html @@ -4,33 +4,35 @@
- - - - - - - - - - - - - - - - - - - -
TransactionTypeTotal Sent (BSQ)OutputsBlock HeightBlock Time
{{ tx.id | shortenString : 16 }} {{ tx.txTypeDisplayString }} - - {{ tx.burntFee / 100 | number: '1.2-2' }} - - - {{ calculateTotalOutput(tx.outputs) / 100 | number: '1.2-2' }} - - {{ tx.outputs.length }}{{ tx.blockHeight }}{{ tx.time | date:'yyyy-MM-dd HH:mm' }}
+
+ + + + + + + + + + + + + + + + + + + +
TransactionTypeTotal Sent (BSQ)OutputsBlock HeightBlock Time
{{ tx.id | shortenString : 16 }} {{ tx.txTypeDisplayString }} + + {{ tx.burntFee / 100 | number: '1.2-2' }} + + + {{ calculateTotalOutput(tx.outputs) / 100 | number: '1.2-2' }} + + {{ tx.outputs.length }}{{ tx.blockHeight }}{{ tx.time | date:'yyyy-MM-dd HH:mm' }}
+

diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 268ce2238..1d392a811 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -416,3 +416,7 @@ h1, h2, h3 { background-color: #653b9c; border-color: #3a1c61; } + +th { + white-space: nowrap; +}