From 76702d770f6063a0b88a46b3748471863ad5298b Mon Sep 17 00:00:00 2001 From: Felipe Coutinho Date: Sun, 1 Feb 2026 22:07:53 +0000 Subject: [PATCH] =?UTF-8?q?fix(anotacoes):=20preservar=20formata=C3=A7?= =?UTF-8?q?=C3=A3o=20e=20corrigir=20layout=20do=20card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Preservar quebras de linha e espaços na descrição das notas - Corrigir altura fixa do card para manter footer sempre visível - Texto excedente é cortado em vez de empurrar os botões Co-Authored-By: Claude Opus 4.5 --- components/anotacoes/note-card.tsx | 12 ++++++------ components/anotacoes/note-dialog.tsx | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/anotacoes/note-card.tsx b/components/anotacoes/note-card.tsx index 6b2e7ea..de632fe 100644 --- a/components/anotacoes/note-card.tsx +++ b/components/anotacoes/note-card.tsx @@ -82,9 +82,9 @@ export function NoteCard({ ].filter((action) => typeof action.onClick === "function"); return ( - - -
+ + +

{displayTitle} @@ -98,7 +98,7 @@ export function NoteCard({

{isTask ? ( -
+
{tasks.slice(0, 5).map((task) => (
) : ( -

+

{note.description}

)} {actions.length > 0 ? ( - + {actions.map(({ label, icon, onClick, variant }) => (