feat: adjust styling of PlacedSoundItem for improved positioning and visual consistency
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user