mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 08:16:44 +00:00
prevent site name from wrapping
This commit is contained in:
@@ -201,11 +201,19 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) {
|
|||||||
onClick={() =>
|
onClick={() =>
|
||||||
column.toggleSorting(column.getIsSorted() === "asc")
|
column.toggleSorting(column.getIsSorted() === "asc")
|
||||||
}
|
}
|
||||||
|
className="hidden md:flex whitespace-nowrap"
|
||||||
>
|
>
|
||||||
{t('site')}
|
{t('site')}
|
||||||
<ArrowUpDown className="ml-2 h-4 w-4" />
|
<ArrowUpDown className="ml-2 h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
cell: ({ row }) => {
|
||||||
|
return (
|
||||||
|
<div className="hidden md:block whitespace-nowrap">
|
||||||
|
{row.original.nice}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user