Skip to content

Commit 2216fc1

Browse files
committed
[new] resolves #1, increase margins for dropdown items based on comments
1 parent 99b19f3 commit 2216fc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/apis/setNotesPanelSort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export default store => newSort => {
99
shouldRenderSeparator,
1010
getSeparatorContent
1111
};
12-
store.dispatch(actions.setSortNotesBy(newSort.name));
12+
store.dispatch(actions.setSortNotesBy(name));
1313
};

src/components/Dropdown/Dropdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040

4141
.dropdown-item {
42-
margin-bottom: 3px;
42+
margin: 5px 0;
4343
}
4444
}
4545

0 commit comments

Comments
 (0)