feat: adjust styling of PlacedSoundItem for improved positioning and visual consistency

This commit is contained in:
JSC
2025-09-03 15:11:23 +02:00
parent a0d5840166
commit 7e03189fc4

View File

@@ -69,11 +69,13 @@ function PlacedSoundItem({ sound, zoom, trackId, onRemove }: PlacedSoundItemProp
position: 'absolute', position: 'absolute',
left: `${left}px`, left: `${left}px`,
width: `${width}px`, width: `${width}px`,
top: '8px',
bottom: '8px',
}} }}
{...listeners} {...listeners}
{...attributes} {...attributes}
className={` className={`
h-12 bg-primary/20 border-2 border-primary/40 rounded bg-primary/20 border-2 border-primary/40 rounded
flex items-center justify-between px-2 text-xs flex items-center justify-between px-2 text-xs
cursor-grab active:cursor-grabbing cursor-grab active:cursor-grabbing
hover:bg-primary/30 hover:border-primary/60 hover:bg-primary/30 hover:border-primary/60