diff --git a/src/lib/components/NoteCard.svelte b/src/lib/components/NoteCard.svelte index f192315..94cb1fe 100644 --- a/src/lib/components/NoteCard.svelte +++ b/src/lib/components/NoteCard.svelte @@ -18,9 +18,10 @@ interface Props { note: Note; onEdit: (note: Note) => void; + fullHeight?: boolean; } - let { note, onEdit }: Props = $props(); + let { note, onEdit, fullHeight = false }: Props = $props(); $effect(() => { const colors = NOTE_COLORS[note.color]; @@ -68,7 +69,7 @@
onEdit(note)} onkeydown={(e) => e.key === 'Enter' && onEdit(note)} diff --git a/src/lib/components/NoteGrid.svelte b/src/lib/components/NoteGrid.svelte index 0f7e93a..0d5ef2f 100644 --- a/src/lib/components/NoteGrid.svelte +++ b/src/lib/components/NoteGrid.svelte @@ -1,6 +1,7 @@