styles: change overflow to auto and add back dropdowns min width

This commit is contained in:
Antonella Sgarlatta
2021-06-10 11:18:29 -03:00
parent c0348a0d0a
commit 860e30de20
6 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ const NotesContextMenu = observer(({ appState }: Props) => {
return appState.notes.contextMenuOpen ? (
<div
ref={contextMenuRef}
className="sn-dropdown max-h-120 max-w-xs flex flex-col py-2 overflow-y-scroll fixed"
className="sn-dropdown max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed"
style={{
...appState.notes.contextMenuPosition,
maxHeight: appState.notes.contextMenuMaxHeight,