1
Fork 0

Added drag to navbar

This commit is contained in:
Jake Howard 2015-11-04 08:58:45 +00:00
parent 37d84a724c
commit 56b576f69d
2 changed files with 9 additions and 1 deletions

View file

@ -7,7 +7,7 @@ var Home = React.createClass({
return ( return (
<div className="container-fluid row"> <div className="container-fluid row">
<div className="col-xs-3"> <div className="col-xs-3">
<NavSideBar /> <NavSidebar />
</div> </div>
<div className="col-xs-9"> <div className="col-xs-9">
<h2>Title</h2> <h2>Title</h2>

View file

@ -14,6 +14,14 @@ body {
padding-top: 50px; padding-top: 50px;
} }
/* @group Electron Specific */ /* @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),
:not(input):not(textarea)::before, :not(input):not(textarea)::before,
:not(input):not(textarea)::after { :not(input):not(textarea)::after {