From edebdc21299091318cac3136e09fce56ad36333c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Nov 2025 01:15:36 +0100 Subject: [PATCH] fix: revert track heights and increase control card bottom padding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverted track heights to original values: - DEFAULT_TRACK_HEIGHT: 360px → 340px - MIN_TRACK_HEIGHT: 260px → 240px Increased bottom padding of TrackControls from py-2 to pt-2 pb-4 for better spacing at the bottom of the control card. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/tracks/TrackControls.tsx | 2 +- types/track.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/tracks/TrackControls.tsx b/components/tracks/TrackControls.tsx index bae6522..4f1e0c1 100644 --- a/components/tracks/TrackControls.tsx +++ b/components/tracks/TrackControls.tsx @@ -57,7 +57,7 @@ export function TrackControls({ }: TrackControlsProps) { return (
{/* Pan Control - Top */} diff --git a/types/track.ts b/types/track.ts index 6e73b72..a5bc952 100644 --- a/types/track.ts +++ b/types/track.ts @@ -68,7 +68,7 @@ export const TRACK_COLORS: Record = { gray: 'rgb(156, 163, 175)', }; -export const DEFAULT_TRACK_HEIGHT = 360; // Knob + fader with labels + R/S/M/A/E buttons -export const MIN_TRACK_HEIGHT = 260; // Minimum to fit knob + fader with labels + all buttons +export const DEFAULT_TRACK_HEIGHT = 340; // Knob + fader with labels + R/S/M/A/E buttons +export const MIN_TRACK_HEIGHT = 240; // Minimum to fit knob + fader with labels + all buttons export const MAX_TRACK_HEIGHT = 500; // Increased for better waveform viewing export const COLLAPSED_TRACK_HEIGHT = 48; // Extracted constant for collapsed state