From c54057eb383ecb2159bfbc9ed3ccd8a180b457dd Mon Sep 17 00:00:00 2001 From: Ishaan Gupta Date: Thu, 21 May 2026 15:16:03 +0530 Subject: [PATCH] add proper blue and horizontol expansion --- apps/web/components/quick-note-card.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/web/components/quick-note-card.tsx b/apps/web/components/quick-note-card.tsx index 51a4aa6f..1443a0e3 100644 --- a/apps/web/components/quick-note-card.tsx +++ b/apps/web/components/quick-note-card.tsx @@ -82,8 +82,10 @@ export function QuickNoteCard({ const canSave = draft.trim().length > 0 && !isSaving const hasDraft = draft.trim().length > 0 const editorHeight = - isExpanded || hasDraft + isExpanded ? "min-h-[min(58dvh,520px)] sm:min-h-[min(54vh,560px)]" + : hasDraft + ? "min-h-[188px]" : "min-h-[120px]" return ( @@ -97,8 +99,9 @@ export function QuickNoteCard({ )}