From af9de377561999dbf42721ddb64ee1bb0ad9dc76 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 4 Nov 2016 09:57:21 +0100 Subject: [PATCH] Make the footer a bit less ugly. (#3160) * Make the footer a bit less ugly. * Whitespace. --- js/src/views/Application/Status/status.css | 21 ++++++++++----------- js/src/views/Application/Status/status.js | 10 ++++------ 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/js/src/views/Application/Status/status.css b/js/src/views/Application/Status/status.css index af15d46d5..de043a1ad 100644 --- a/js/src/views/Application/Status/status.css +++ b/js/src/views/Application/Status/status.css @@ -15,12 +15,10 @@ /* along with Parity. If not, see . */ .status { - padding: 1.5em; - text-align: right; - color: #ddd; - display: flex; - flex-direction: column; - align-items: flex-end; + padding: 0.5em; + font-size: x-small; + color: #ccc; + background-color: rgba(0, 0, 0, 0.2) } .title { @@ -29,12 +27,13 @@ .enode { word-wrap: break-word; - margin: 0.5em 0 0.25em 0; + float: right; } .enode > * { display: inline-block; - margin-left: .5em; + margin: 0.25em 0.5em; + vertical-align: top; } .block { @@ -43,9 +42,7 @@ .netinfo { display: flex; align-items: center; - flex-direction: row; - justify-content: flex-end; - margin-top: 0.25em; + color: #ddd; } .netinfo > * { @@ -73,6 +70,8 @@ } .version { + padding: 0.25em 0.5em; + float: left; } .syncing { diff --git a/js/src/views/Application/Status/status.js b/js/src/views/Application/Status/status.js index 7b3c87b89..6417d5d28 100644 --- a/js/src/views/Application/Status/status.js +++ b/js/src/views/Application/Status/status.js @@ -48,15 +48,13 @@ class Status extends Component { { this.renderEnode() }
-
- -
- { netPeers.active.toFormat() }/{ netPeers.connected.toFormat() }/{ netPeers.max.toFormat() } peers -
-
+
{ isTest ? 'test' : netChain }
+
+ { netPeers.active.toFormat() }/{ netPeers.connected.toFormat() }/{ netPeers.max.toFormat() } peers +
);