fix: restore horizontal scrollbar by making waveform use container height

- Remove fixed height from Track waveformOnly mode
- Use h-full class to fill flex container instead
- Allows parent scroll container to show horizontal scrollbar based on zoom
- Waveform now properly expands horizontally without clipping

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-19 12:58:47 +01:00
parent 1a66669a77
commit d08482a64c
2 changed files with 3 additions and 4 deletions

View File

@@ -830,10 +830,9 @@ export function Track({
return (
<div
className={cn(
"relative bg-waveform-bg border-b transition-all duration-200",
"relative bg-waveform-bg border-b transition-all duration-200 h-full",
isSelected && "bg-primary/5",
)}
style={{ height: trackHeight }}
>
{/* Inner container with dynamic width */}
<div