Small update

This commit is contained in:
2026-02-03 16:06:21 +01:00
parent b80a3be82d
commit a566c92314
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
import { Button } from "@/components/ui/button";
import { Clock, Zap, Users } from "lucide-react"; import { Clock, Zap, Users } from "lucide-react";
interface ProblemCardProps { interface ProblemCardProps {
@@ -81,9 +82,9 @@ const ProblemCard = ({
{/* Quick run button - appears on hover */} {/* Quick run button - appears on hover */}
<div className="absolute bottom-0 right-0 opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-x-2 group-hover:translate-x-0"> <div className="absolute bottom-0 right-0 opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-x-2 group-hover:translate-x-0">
<button className="p-2 rounded-lg bg-primary text-primary-foreground"> <Button size="p2">
<Zap className="h-4 w-4" /> <Zap className="h-4 w-4" />
</button> </Button>
</div> </div>
</div> </div>
</div> </div>
+1
View File
@@ -25,6 +25,7 @@ const buttonVariants = cva(
}, },
size: { size: {
default: "h-10 px-4 py-2", default: "h-10 px-4 py-2",
p2: "rounded-md p-2",
sm: "h-9 rounded-md px-3", sm: "h-9 rounded-md px-3",
lg: "h-12 rounded-lg px-8", lg: "h-12 rounded-lg px-8",
xl: "h-14 rounded-lg px-10 text-base", xl: "h-14 rounded-lg px-10 text-base",