Skip to content

Commit 8aefb21

Browse files
committed
modify: remove border color of slidebar
1 parent e27751c commit 8aefb21

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

browser/main/Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class Main extends React.Component {
165165
/>
166166
{!config.isSideNavFolded &&
167167
<div styleName={this.state.isLeftSliderFocused ? 'slider--active' : 'slider'}
168-
style={{left: this.state.navWidth - 1}}
168+
style={{left: this.state.navWidth}}
169169
onMouseDown={(e) => this.handleLeftSlideMouseDown(e)}
170170
draggable='false'
171171
>
@@ -202,7 +202,7 @@ class Main extends React.Component {
202202
<div styleName='slider-hitbox' />
203203
</div>
204204
<Detail
205-
style={{left: this.state.listWidth + 1}}
205+
style={{left: this.state.listWidth}}
206206
{..._.pick(this.props, [
207207
'dispatch',
208208
'data',

browser/main/Main.styl

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@
1111

1212
.slider
1313
absolute top bottom
14-
width 1px
15-
background-color $ui-borderColor
16-
border-width 0
17-
border-style solid
18-
border-color $ui-borderColor
14+
width 0
1915

2016
.slider--active
2117
@extend .slider
22-
background-color $ui-button--active-backgroundColor
2318

2419
.slider-hitbox
2520
absolute top bottom left right
@@ -32,10 +27,3 @@
3227
body[data-theme="dark"]
3328
.root
3429
absolute top left bottom right
35-
36-
.slider
37-
background-color $ui-dark-borderColor
38-
border-color $ui-dark-borderColor
39-
40-
.slider--active
41-
background-color $ui-button--active-backgroundColor

0 commit comments

Comments
 (0)