Skip to content

Commit 1ae1414

Browse files
authored
Merge pull request #2743 from daiyam/fix-notelist-width
fix min width of note list
2 parents 7232d07 + 30e262d commit 1ae1414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

browser/main/Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ class Main extends React.Component {
234234
if (this.state.isRightSliderFocused) {
235235
const offset = this.refs.body.getBoundingClientRect().left
236236
let newListWidth = e.pageX - offset
237-
if (newListWidth < 10) {
238-
newListWidth = 10
237+
if (newListWidth < 180) {
238+
newListWidth = 180
239239
} else if (newListWidth > 600) {
240240
newListWidth = 600
241241
}

0 commit comments

Comments
 (0)