fix newt version styling

This commit is contained in:
miloschwartz
2025-12-06 21:39:51 -05:00
parent 71db29c09c
commit 502d15b9dc

View File

@@ -231,7 +231,7 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) {
}, },
{ {
accessorKey: "type", accessorKey: "type",
friendlyName: t("connectionType"), friendlyName: t("type"),
header: ({ column }) => { header: ({ column }) => {
return ( return (
<Button <Button
@@ -240,7 +240,7 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) {
column.toggleSorting(column.getIsSorted() === "asc") column.toggleSorting(column.getIsSorted() === "asc")
} }
> >
{t("connectionType")} {t("type")}
<ArrowUpDown className="ml-2 h-4 w-4" /> <ArrowUpDown className="ml-2 h-4 w-4" />
</Button> </Button>
); );
@@ -252,12 +252,10 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) {
return ( return (
<div className="flex items-center space-x-1"> <div className="flex items-center space-x-1">
<Badge variant="secondary"> <Badge variant="secondary">
<div className="flex items-center space-x-2"> <div className="flex items-center space-x-1">
<span>Newt</span> <span>Newt</span>
{originalRow.newtVersion && ( {originalRow.newtVersion && (
<span className="text-xs text-gray-500"> <span>v{originalRow.newtVersion}</span>
v{originalRow.newtVersion}
</span>
)} )}
</div> </div>
</Badge> </Badge>