1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fixing some code from the comments

This commit is contained in:
Kevin Nadro
2017-05-28 01:10:32 -05:00
committed by asmsuechan
parent 0c3019b52e
commit 063e2e02bd
3 changed files with 8 additions and 14 deletions

View File

@@ -201,6 +201,7 @@ class Main extends React.Component {
/>
{!config.isSideNavFolded &&
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
id='slider-left'
style={{left: this.state.navWidth}}
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
draggable='false'
@@ -232,6 +233,7 @@ class Main extends React.Component {
])}
/>
<div styleName={this.state.isRightSliderFocused ? 'slider-right--active' : 'slider-right'}
id='slider-right'
style={{left: this.state.listWidth - 1}}
onMouseDown={(e) => this.handleRightSlideMouseDown(e)}
draggable='false'