mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 00:24:38 +02:00
prevent site name from wrapping
This commit is contained in:
parent
809a135721
commit
cc930ebf53
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue