mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-09 14:11:51 +02:00
💄 Update polls table
This commit is contained in:
parent
3d9dd6ca98
commit
422a5abfe7
1 changed files with 10 additions and 14 deletions
|
@ -44,22 +44,18 @@ export const usePollColumns = () => {
|
||||||
columnHelper.accessor("title", {
|
columnHelper.accessor("title", {
|
||||||
id: "title",
|
id: "title",
|
||||||
header: t("title"),
|
header: t("title"),
|
||||||
size: 1000,
|
size: 250,
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<Link
|
||||||
<Link
|
href={`/invite/${row.original.id}`}
|
||||||
href={`/invite/${row.original.id}`}
|
className="focus:text-primary group inset-0 flex h-9 min-w-0 items-center gap-x-2.5 whitespace-nowrap rounded-md px-2.5 text-sm font-medium hover:underline focus:bg-gray-200"
|
||||||
className="focus:text-primary group absolute inset-0 flex items-center gap-x-2.5 px-4 group-hover:underline"
|
>
|
||||||
>
|
<Icon>
|
||||||
<span className="flex items-center gap-x-2.5 truncate whitespace-nowrap text-sm font-medium group-hover:underline">
|
<BarChart2Icon />
|
||||||
<Icon>
|
</Icon>
|
||||||
<BarChart2Icon />
|
<span className="min-w-0 truncate">{row.original.title}</span>
|
||||||
</Icon>
|
</Link>
|
||||||
{row.original.title}
|
|
||||||
</span>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue