From 17fe70ad71abd7bf59b78a65faa44a1702cd5128 Mon Sep 17 00:00:00 2001 From: esdrasrenan Date: Mon, 15 Dec 2025 20:37:51 -0300 Subject: [PATCH] style(checklist): melhora layout do item de pergunta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Opcoes de resposta como botoes com estilo pill - Opcao selecionada em preto com texto branco - Badges menores e mais compactos - Icone ? com estilo cyan - Melhor espacamento geral 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../tickets/ticket-checklist-card.tsx | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/components/tickets/ticket-checklist-card.tsx b/src/components/tickets/ticket-checklist-card.tsx index c6428ef..edbeb55 100644 --- a/src/components/tickets/ticket-checklist-card.tsx +++ b/src/components/tickets/ticket-checklist-card.tsx @@ -309,10 +309,10 @@ export function TicketChecklistCard({ const options = item.options ?? [] return ( -
+
{isQuestion ? ( -
+
?
) : ( @@ -332,10 +332,10 @@ export function TicketChecklistCard({ toast.error(error instanceof Error ? error.message : "Falha ao atualizar checklist.") } }} - className="mt-1" + className="mt-0.5" /> )} -
+
{editingId === item.id && canEdit && !isResolved ? (
{options.map((option) => ( ))} )} -
+
{required ? ( - + Obrigatório ) : ( - + Opcional )} {isQuestion && ( - + Pergunta )} {templateLabel ? ( - - Template: {templateLabel} + + {templateLabel} ) : null}