From 48a7f8a3ee354a14a37d69628f292cd5eacf73ce Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 31 Aug 2022 01:52:32 +0200 Subject: [PATCH] Channel txs details buttons --- .../lightning/channel/channel.component.html | 12 +++++++---- .../lightning/channel/channel.component.scss | 21 ++++++++++++++++--- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/lightning/channel/channel.component.html b/frontend/src/app/lightning/channel/channel.component.html index 195c35324..2824b8dba 100644 --- a/frontend/src/app/lightning/channel/channel.component.html +++ b/frontend/src/app/lightning/channel/channel.component.html @@ -65,14 +65,18 @@ -

Opening transaction

- +
+

Opening transaction

+ +
+
-
+

Closing transaction

   +
- + diff --git a/frontend/src/app/lightning/channel/channel.component.scss b/frontend/src/app/lightning/channel/channel.component.scss index c23d8e28c..333955212 100644 --- a/frontend/src/app/lightning/channel/channel.component.scss +++ b/frontend/src/app/lightning/channel/channel.component.scss @@ -45,19 +45,29 @@ app-fiat { } .closing-header { - display: flex; flex-direction: row; margin-bottom: 1rem; align-items: center; } +h3 { + margin-bottom: 0rem; +} + @media (max-width: 768px) { h3 { font-size: 1.4rem; + white-space: nowrap; + } + .closing-header { + flex-wrap: wrap; + } + app-closing-type { + flex-basis: 100%; + order: 1; } } - .loading-spinner { position: absolute; top: 400px; @@ -67,4 +77,9 @@ app-fiat { @media (max-width: 767.98px) { top: 450px; } -} \ No newline at end of file +} + +.details-button { + align-self: center; + margin-left: auto; +}