diff --git a/src/features/dashboard/components/notes/note-list-item.tsx b/src/features/dashboard/components/notes/note-list-item.tsx index 407769d..af9e6a7 100644 --- a/src/features/dashboard/components/notes/note-list-item.tsx +++ b/src/features/dashboard/components/notes/note-list-item.tsx @@ -23,7 +23,7 @@ export function NoteListItem({ const createdAtLabel = formatNoteCreatedAt(note.createdAt); return ( -
+

{displayTitle} @@ -44,7 +44,7 @@ export function NoteListItem({ + )} + +

)}
- +
+ + MAX_TITLE + ? "text-destructive" + : "text-muted-foreground", + )} + > + {titleCount}/{MAX_TITLE} + +
@@ -287,7 +303,19 @@ export function NoteDialog({ {isNote && (
- +
+ + MAX_DESC + ? "text-destructive" + : "text-muted-foreground", + )} + > + {descCount}/{MAX_DESC} + +