1
Fork 0

Fixed hovering on close button, mostly

This commit is contained in:
Jake Howard 2015-11-04 09:15:23 +00:00
parent 56b576f69d
commit 9fcf5e5708
2 changed files with 5 additions and 5 deletions

View file

@ -12,8 +12,8 @@ var NavBar = React.createClass({
<div className="container-fluid">
<a className="navbar-brand">Keyboard Mechanizer</a>
<ul className="nav navbar-nav navbar-right">
<li><a href="#" className="no-drag">Hide</a></li>
<li><a href="#" onClick={this.handleClose}className="no-drag"><i className="icon ion-close-round"></i></a></li>
<li><a href="#">Hide</a></li>
<li><a href="#" onClick={this.handleClose}><i className="icon ion-close-round"></i></a></li>
</ul>
</div>
</nav>

View file

@ -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;
}
}