styles: add hover state to ellipsis button and unify search options and ellipsis button styles

This commit is contained in:
Antonella Sgarlatta
2021-05-10 18:58:31 -03:00
parent c2ed6f1913
commit 36bfa4504d
4 changed files with 29 additions and 14 deletions

View File

@@ -26,11 +26,11 @@ export const NotesOptions = observer(
});
const notes = Object.values(appState.notes.selectedNotes);
const hidePreviews = !notes.some((note) => !note.hidePreview);
const locked = !notes.some((note) => !note.locked);
const archived = !notes.some((note) => !note.archived);
const trashed = !notes.some((note) => !note.trashed);
const pinned = !notes.some((note) => !note.pinned);
const hidePreviews = notes.some((note) => note.hidePreview);
const locked = notes.some((note) => note.locked);
const archived = notes.some((note) => note.archived);
const trashed = notes.some((note) => note.trashed);
const pinned = notes.some((note) => note.pinned);
const tagsButtonRef = useRef<HTMLButtonElement>();