From 9fcf5e57087ae34bbdb431803cd95d5d6105ca34 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 4 Nov 2015 09:15:23 +0000 Subject: [PATCH] Fixed hovering on close button, mostly --- src/js/components/navbar.js | 6 +++--- src/less/style.less | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/js/components/navbar.js b/src/js/components/navbar.js index bd4eccc..3409d35 100644 --- a/src/js/components/navbar.js +++ b/src/js/components/navbar.js @@ -5,15 +5,15 @@ var NavBar = React.createClass({ handleClose: function (evt) { ipc.send('close'); }, - + render: function () { return ( diff --git a/src/less/style.less b/src/less/style.less index 9dfdb8b..e41f8f2 100644 --- a/src/less/style.less +++ b/src/less/style.less @@ -16,9 +16,9 @@ body { /* @group Electron Specific */ #navbar { -webkit-app-region: drag; - .no-drag { + a, a > i { -webkit-app-region: no-drag; - cursor: initial; + cursor: pointer; } }