From 22047747881cbcf33ecac437e65114529ac0d899 Mon Sep 17 00:00:00 2001 From: Gyandeep Singh Date: Tue, 5 Sep 2017 22:48:51 -0500 Subject: [PATCH] Fix: Some ui quick wins --- components/ConversionPanel.js | 12 ++++++++---- components/Layout.js | 18 +++++------------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/components/ConversionPanel.js b/components/ConversionPanel.js index 7da8a2b..810b734 100644 --- a/components/ConversionPanel.js +++ b/components/ConversionPanel.js @@ -450,10 +450,14 @@ export default class ConversionPanel extends PureComponent { -
- {info} -
+ { + infoType !== "" && ( +
+ {info} +
+ ) + } ); } -} +} \ No newline at end of file diff --git a/components/Layout.js b/components/Layout.js index 3381ee4..a000684 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -171,9 +171,8 @@ export default class Layout extends PureComponent { } .nav { - padding: 20px 0; flex: 1; - overflow-y: scroll; + overflow-y: auto; } .twitter { @@ -187,18 +186,12 @@ export default class Layout extends PureComponent { } .footer { - height: 70px; + padding: 10px 5px; text-align: center; color: #fff; font-family: "Lato", sans-serif; } - .footer svg { - height: 36px; - width: 30px; - color: #fff; - } - .badge { display: inline-block; font-size: 12px; @@ -296,9 +289,8 @@ export default class Layout extends PureComponent {
+
Use Ctrl/Cmd + P for quick search
-
Use Ctrl/Cmd + P for quick search
-
-
Created by{" "} + Created by{" "} ); } -} +} \ No newline at end of file