diff --git a/apps/client/src/ee/confluence-import/components/confluence-import-history.tsx b/apps/client/src/ee/confluence-import/components/confluence-import-history.tsx index 6c8acdc1d..3010272c5 100644 --- a/apps/client/src/ee/confluence-import/components/confluence-import-history.tsx +++ b/apps/client/src/ee/confluence-import/components/confluence-import-history.tsx @@ -21,24 +21,44 @@ import { formattedDate } from "@/lib/time"; import NoTableResults from "@/components/common/no-table-results"; import { useConfluenceImportsQuery } from "@/ee/confluence-import/queries/confluence-import-queries"; +const BADGE_STYLES = { + root: { flexShrink: 0 }, + label: { overflow: "visible" as const }, +}; + function statusBadge(status: ConfluenceImportStatus, cancelled: boolean) { if (cancelled) { return ( - }> + } + styles={BADGE_STYLES} + > Cancelled ); } if (status === "processing") { return ( - }> + } + styles={BADGE_STYLES} + > Running ); } if (status === "success") { return ( - }> + } + styles={BADGE_STYLES} + > Completed ); @@ -48,6 +68,7 @@ function statusBadge(status: ConfluenceImportStatus, cancelled: boolean) { color="red" variant="light" leftSection={} + styles={BADGE_STYLES} > Failed