Added drag to navbar
This commit is contained in:
parent
37d84a724c
commit
56b576f69d
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Reference in a new issue