diff --git a/src/components/automations/automations-manager.tsx b/src/components/automations/automations-manager.tsx index 0f42781..9806681 100644 --- a/src/components/automations/automations-manager.tsx +++ b/src/components/automations/automations-manager.tsx @@ -11,7 +11,7 @@ import { useAuth } from "@/lib/auth-client" import { DEFAULT_TENANT_ID } from "@/lib/constants" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" -import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Dialog, DialogTrigger } from "@/components/ui/dialog" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@/components/ui/dropdown-menu" import { Input } from "@/components/ui/input" @@ -152,21 +152,23 @@ export function AutomationsManager() { return ( - - Automações - - Crie gatilhos para executar ações automáticas. - - + +
+ Automações + + Crie gatilhos para executar ações automáticas nos tickets. + +
+
setQueryText(e.target.value)} placeholder="Buscar automação..." - className="h-8 w-full text-sm sm:w-64" + className="h-8 w-full text-sm sm:w-56" /> - - - - - setEditorOpen(false)} - /> -
- + + + + + setEditorOpen(false)} + /> + +
- - + + - + @@ -285,13 +287,13 @@ export function AutomationsManager() { {row.name} - +
- + {triggerLabel(row.trigger)} {row.timing === "DELAYED" && row.delayMs ? ( - + +{Math.round(row.delayMs / 60000)}m ) : null} diff --git a/src/components/tickets/ticket-checklist-card.tsx b/src/components/tickets/ticket-checklist-card.tsx index 72b3b66..7cf23a4 100644 --- a/src/components/tickets/ticket-checklist-card.tsx +++ b/src/components/tickets/ticket-checklist-card.tsx @@ -428,12 +428,12 @@ export function TicketChecklistCard({ )} {canEdit && !isResolved ? ( -
+
setNewText(e.target.value)} placeholder="Adicionar item do checklist..." - className="h-8 flex-1 bg-white" + className="h-8 w-full bg-white sm:max-w-md" onKeyDown={(e) => { if (e.key === "Enter") { e.preventDefault() @@ -441,14 +441,16 @@ export function TicketChecklistCard({ } }} /> - - +
+ + +
) : null}