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:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user