whole export backups tile clickable
This commit is contained in:
parent
3df892455f
commit
94342cb48d
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ export function ExportDialog({
|
||||||
|
|
||||||
const defaultTrigger =
|
const defaultTrigger =
|
||||||
variant === "card" ? (
|
variant === "card" ? (
|
||||||
<div className="flex flex-col items-center justify-center gap-2 cursor-pointer">
|
<div className="flex flex-col items-center justify-center gap-2 cursor-pointer h-full w-full">
|
||||||
<Download className="h-8 w-8 text-muted-foreground" />
|
<Download className="h-8 w-8 text-muted-foreground" />
|
||||||
<span className="text-sm font-medium text-muted-foreground">
|
<span className="text-sm font-medium text-muted-foreground">
|
||||||
{triggerLabel ?? `Export ${isSingleItem ? "config" : "configs"}`}
|
{triggerLabel ?? `Export ${isSingleItem ? "config" : "configs"}`}
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ export default function Backups({ loaderData }: Route.ComponentProps) {
|
||||||
</Card>
|
</Card>
|
||||||
</Link>
|
</Link>
|
||||||
<Card className="flex flex-col items-center justify-center h-full hover:bg-muted/50 transition-colors cursor-pointer">
|
<Card className="flex flex-col items-center justify-center h-full hover:bg-muted/50 transition-colors cursor-pointer">
|
||||||
<CardContent className="flex flex-col items-center justify-center gap-2">
|
<CardContent className="flex flex-col items-center justify-center gap-2 h-full w-full">
|
||||||
<ExportDialog entityType="backups" variant="card" />
|
<ExportDialog entityType="backups" variant="card" />
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue