Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Misc note edition UI adjustments

François Zaninottoa8013c4e0c8c
diff --git a/src/components/atomic-crm/notes/Note.tsx b/src/components/atomic-crm/notes/Note.tsx
index bda75591..7005aa1b 100644
--- a/src/components/atomic-crm/notes/Note.tsx
+++ b/src/components/atomic-crm/notes/Note.tsx
@@ -149,9 +149,9 @@ export const Note = ({
</span>
</div>
{isEditing ? (
- <Form onSubmit={handleNoteUpdate} record={note}>
+ <Form onSubmit={handleNoteUpdate} record={note} className="mt-1">
<NoteInputs showStatus={showStatus} />
- <div className="flex justify-end mt-4 space-x-4">
+ <div className="flex justify-end mt-2 space-x-4">
<Button
variant="ghost"
onClick={handleCancelEdit}
diff --git a/src/components/atomic-crm/notes/NoteInputs.tsx b/src/components/atomic-crm/notes/NoteInputs.tsx
index 5a17f2bb..531bbbf4 100644
--- a/src/components/atomic-crm/notes/NoteInputs.tsx
+++ b/src/components/atomic-crm/notes/NoteInputs.tsx
@@ -24,6 +24,7 @@ export const NoteInputs = ({ showStatus }: { showStatus?: boolean }) => {
multiline
helperText={false}
placeholder="Add a note"
+ rows={6}
/>
{!displayMore && (