From e8151e8393de6dd9f6349eb7162893630b5bf55b Mon Sep 17 00:00:00 2001 From: nymkappa Date: Wed, 31 Aug 2022 08:17:42 +0200 Subject: [PATCH] Fix node header layout --- .../app/lightning/node/node.component.html | 22 +++++++++---------- .../app/lightning/node/node.component.scss | 7 ++++++ .../geolocation/geolocation.component.html | 2 +- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/frontend/src/app/lightning/node/node.component.html b/frontend/src/app/lightning/node/node.component.html index a279d0fd7..778543772 100644 --- a/frontend/src/app/lightning/node/node.component.html +++ b/frontend/src/app/lightning/node/node.component.html @@ -22,30 +22,30 @@
- +
- + - + - + - + @@ -55,30 +55,30 @@
-
Active capacityActive capacity
Active channelsActive channels {{ node.active_channel_count }}
Average channel sizeAverage channel size
LocationLocation
+
- + - + - + - + diff --git a/frontend/src/app/lightning/node/node.component.scss b/frontend/src/app/lightning/node/node.component.scss index 481f2a8c4..7221e56bc 100644 --- a/frontend/src/app/lightning/node/node.component.scss +++ b/frontend/src/app/lightning/node/node.component.scss @@ -77,3 +77,10 @@ app-fiat { left: calc(50% - 15px); z-index: 100; } + +.label { + width: 50%; + @media (min-width: 576px) { + width: 40%; + } +} \ No newline at end of file diff --git a/frontend/src/app/shared/components/geolocation/geolocation.component.html b/frontend/src/app/shared/components/geolocation/geolocation.component.html index 2788cd4c1..c63af47be 100644 --- a/frontend/src/app/shared/components/geolocation/geolocation.component.html +++ b/frontend/src/app/shared/components/geolocation/geolocation.component.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file
First seenFirst seen
Last updateLast update
ColorColor
{{ node.color }}
ISPISP - + {{ node.as_organization }} [ASN {{node.as_number}}]