From 56b576f69d618fcae2796e06bfb41ddf1250e3b7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 4 Nov 2015 08:58:45 +0000 Subject: [PATCH] Added drag to navbar --- src/js/components/home.js | 2 +- src/less/style.less | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/js/components/home.js b/src/js/components/home.js index 19b9602..2d204dc 100644 --- a/src/js/components/home.js +++ b/src/js/components/home.js @@ -7,7 +7,7 @@ var Home = React.createClass({ return (
- +

Title

diff --git a/src/less/style.less b/src/less/style.less index 7e3d734..9dfdb8b 100644 --- a/src/less/style.less +++ b/src/less/style.less @@ -14,6 +14,14 @@ body { padding-top: 50px; } /* @group Electron Specific */ +#navbar { + -webkit-app-region: drag; + .no-drag { + -webkit-app-region: no-drag; + cursor: initial; + } +} + :not(input):not(textarea), :not(input):not(textarea)::before, :not(input):not(textarea)::after {