fix(sortable-card): keep opacity at 100 on mobile
This commit is contained in:
parent
3cebc1ce47
commit
1d76e18d38
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export function SortableCard({ isDragging, uniqueId, children }: PropsWithChildr
|
||||||
<div
|
<div
|
||||||
{...attributes}
|
{...attributes}
|
||||||
{...listeners}
|
{...listeners}
|
||||||
className="absolute left-1/2 -translate-x-1/2 top-1 z-10 cursor-grab active:cursor-grabbing opacity-0 group-hover:opacity-100 transition-opacity p-1 rounded hover:bg-muted/50 bg-background/80 backdrop-blur-sm"
|
className="absolute left-1/2 -translate-x-1/2 top-1 z-10 cursor-grab active:cursor-grabbing opacity-100 md:opacity-0 group-hover:opacity-100 transition-opacity p-1 rounded hover:bg-muted/50 bg-background/80 backdrop-blur-sm"
|
||||||
>
|
>
|
||||||
<GripVertical className="h-4 w-4 text-muted-foreground rotate-90" />
|
<GripVertical className="h-4 w-4 text-muted-foreground rotate-90" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue