diff --git a/client/src/Pages/Dashboard/Components/DashboardCard.tsx b/client/src/Pages/Dashboard/Components/DashboardCard.tsx index 9a1ad6407..5b5a050b6 100644 --- a/client/src/Pages/Dashboard/Components/DashboardCard.tsx +++ b/client/src/Pages/Dashboard/Components/DashboardCard.tsx @@ -64,6 +64,11 @@ export const DashboardCard = ({ opacity: 1, pointerEvents: "auto", }, + // The controls are overlaid on the action, so the action fades out as + // they fade in rather than the two rendering on top of each other. + "&:hover .dashboard-card-action, &:has(:focus-visible) .dashboard-card-action": { + opacity: 0, + }, }} > {isStale && ( )} - {action} + {action && ( + + {action} + + )} {slot && (