feat: update DraggableSound component to use break-words for sound name display

This commit is contained in:
JSC
2025-09-03 16:55:21 +02:00
parent 5afb761d3c
commit 7982a2eb6d

View File

@@ -77,7 +77,7 @@ function DraggableSound({ sound }: DraggableSoundProps) {
{sound.type === 'EXT' && <Music className="h-4 w-4 text-purple-500" />}
</div>
<div className="flex-1 min-w-0">
<div className="font-medium text-sm truncate">
<div className="font-medium text-sm break-words">
{sound.name || sound.filename}
</div>
<div className="flex items-center gap-2 text-xs text-muted-foreground mt-1">