mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
💄 Update manage link styling
This commit is contained in:
parent
899bb966fa
commit
ea2010a7ad
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
|||
import { PollStatus } from "@rallly/database";
|
||||
import { Button } from "@rallly/ui/button";
|
||||
import { Icon } from "@rallly/ui/icon";
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";
|
||||
import { createColumnHelper } from "@tanstack/react-table";
|
||||
|
@ -130,12 +131,11 @@ export const usePollColumns = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<Link
|
||||
className="text-link text-sm"
|
||||
href={`/poll/${row.original.id}`}
|
||||
>
|
||||
<Trans i18nKey="manage" />
|
||||
</Link>
|
||||
<Button size="sm" variant="link" asChild>
|
||||
<Link href={`/poll/${row.original.id}`}>
|
||||
<Trans i18nKey="manage" />
|
||||
</Link>
|
||||
</Button>
|
||||
);
|
||||
},
|
||||
}),
|
||||
|
|
|
@ -24,7 +24,7 @@ const buttonVariants = cva(
|
|||
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
||||
ghost:
|
||||
"border-transparent bg-transparent hover:bg-gray-200 active:bg-gray-300",
|
||||
link: "underline-offset-4 border-transparent hover:text-primary-700 text-primary",
|
||||
link: "underline-offset-4 border-transparent hover:underline text-primary",
|
||||
},
|
||||
size: {
|
||||
default: "h-9 px-2.5 gap-x-2.5 text-sm",
|
||||
|
|
Loading…
Add table
Reference in a new issue