diff --git a/src/components/Directory/NotesDirectory.jsx b/src/components/Directory/NotesDirectory.jsx index cccfd8ef..93326e62 100644 --- a/src/components/Directory/NotesDirectory.jsx +++ b/src/components/Directory/NotesDirectory.jsx @@ -128,24 +128,40 @@ const NotesDirectory = ({ className="switch switch-primary" style={{ visibility: - contactProfile?.notes?.length > 0 || - contactNotes?.length > 0 + contactProfile?.notes?.length > 0 || contactNotes?.length > 0 ? "visible" : "hidden", + fontSize: "15px", // smaller text }} > - handleSwitch(!IsActive)} - value={IsActive} + checked={IsActive} + style={{ + transform: "scale(0.8)", // smaller toggle + }} /> - - + - Include Deleted Notes + + Include Deleted Notes + {!showEditor && ( @@ -208,23 +224,23 @@ const NotesDirectory = ({ )} {!isLoading && notesToDisplay.length > 0 ? notesToDisplay - .slice() - .reverse() - .map((noteItem) => ( - - )) + .slice() + .reverse() + .map((noteItem) => ( + + )) : !isLoading && - !showEditor && ( -
{noNotesMessage}
- )} + !showEditor && ( +
{noNotesMessage}
+ )} );