1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

modify: remove border color of slidebar

This commit is contained in:
sota1235
2016-12-29 18:26:25 +09:00
parent e27751c18c
commit 8aefb21123
2 changed files with 3 additions and 15 deletions

View File

@@ -165,7 +165,7 @@ class Main extends React.Component {
/>
{!config.isSideNavFolded &&
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
style={{left: this.state.navWidth - 1}}
style={{left: this.state.navWidth}}
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
draggable='false'
>
@@ -202,7 +202,7 @@ class Main extends React.Component {
<div styleName='slider-hitbox' />
</div>
<Detail
style={{left: this.state.listWidth + 1}}
style={{left: this.state.listWidth}}
{..._.pick(this.props, [
'dispatch',
'data',

View File

@@ -11,15 +11,10 @@
.slider
absolute top bottom
width 1px
background-color $ui-borderColor
border-width 0
border-style solid
border-color $ui-borderColor
width 0
.slider--active
@extend .slider
background-color $ui-button--active-backgroundColor
.slider-hitbox
absolute top bottom left right
@@ -32,10 +27,3 @@
body[data-theme="dark"]
.root
absolute top left bottom right
.slider
background-color $ui-dark-borderColor
border-color $ui-dark-borderColor
.slider--active
background-color $ui-button--active-backgroundColor