Add hover states to DeployButton and GitSyncButton

This commit is contained in:
Alex Gleason committed 2025-12-24 17:29:53 -06:00
1 parent c1427d45dc
commit dcdee5b875
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -21,11 +21,11 @@ export function DeployButton({ projectId, projectName, className, disabled }: De
<Button
variant="ghost"
size="sm"
className={cn("h-8 w-8 p-0", className)}
className={cn("size-8 p-0 group", className)}
aria-label="Deploy project"
disabled={disabled}
>
<Rocket className={cn("size-5", open ? "text-foreground" : "text-muted-foreground")} />
<Rocket className={cn("size-5 group-hover:text-foreground", open ? "text-foreground" : "text-muted-foreground")} />
</Button>
</PopoverTrigger>
<PopoverContent
+2 -2
View File
@@ -30,10 +30,10 @@ export function GitSyncButton({ projectId, className }: GitSyncButtonProps) {
<Button
variant="ghost"
size="sm"
className={cn("h-8 w-8 p-0 relative", className)}
className={cn("size-8 p-0 group relative", className)}
aria-label="Sync with Git"
>
<CloudUpload className={cn("size-5", open ? "text-foreground" : "text-muted-foreground")} />
<CloudUpload className={cn("size-5 group-hover:text-foreground", open ? "text-foreground" : "text-muted-foreground")} />
{showIndicator && (
<span className="absolute top-1 right-1 h-2 w-2 rounded-full bg-primary" />
)}