From 6ac17ae675e5ed8382e3532cc08a89dcafe29ae3 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 16 May 2016 05:54:58 -0400 Subject: [PATCH] Vertically center download start/stop icon --- js/page/home.js | 3 --- scss/_gui.scss | 6 +++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/js/page/home.js b/js/page/home.js index da3774975..ab965f690 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -262,11 +262,8 @@ var TopBar = React.createClass({ - { ' ' } - { ' ' } - { ' ' } diff --git a/scss/_gui.scss b/scss/_gui.scss index a85f09ab8..ad9b29eea 100644 --- a/scss/_gui.scss +++ b/scss/_gui.scss @@ -128,6 +128,10 @@ input[type="search"] { color: $color-primary; text-decoration: underline; + .icon:first-child + { + padding-right: 5px; + } &:hover { opacity: 0.70; @@ -135,7 +139,7 @@ input[type="search"] } } -.icon { +.icon:only-child { position: relative; top: 0.16em; }