mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Add hover states to DeployButton and GitSyncButton
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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" />
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user