[dyad] Fixing position grid point sizes - wrote 1 file(s)
This commit is contained in:
@@ -39,9 +39,12 @@ export function ObjectPositionControl({ value, onChange }: ObjectPositionControl
|
||||
)}
|
||||
aria-label={`Set object position to ${pos.replace(' ', ' ')}`}
|
||||
>
|
||||
{value === pos && (
|
||||
<div className="w-2 h-2 rounded-full bg-primary ring-1 ring-primary-foreground" />
|
||||
<div
|
||||
className={cn(
|
||||
"w-2 h-2 rounded-full transition-colors",
|
||||
value === pos ? "bg-primary ring-1 ring-primary-foreground" : "bg-muted-foreground/20"
|
||||
)}
|
||||
/>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user