fix: automation header controls now properly inline without overlapping
- Removed absolute positioning from eye icon button - Made all controls part of normal flex flow - Eye button now correctly positioned at end without overlap - Chevron controls no longer overlay the eye icon 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -432,7 +432,7 @@ export function TrackList({
|
||||
return (
|
||||
<div className="flex-shrink-0 bg-card/90 backdrop-blur-sm">
|
||||
{/* Automation Header - Single Bar */}
|
||||
<div className="relative flex items-center gap-2 px-3 py-1.5 bg-muted border-t border-b border-border/30">
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 bg-muted border-t border-b border-border/30">
|
||||
<span className="text-xs font-medium flex-shrink-0">Automation</span>
|
||||
|
||||
{/* Color indicator */}
|
||||
@@ -540,7 +540,7 @@ export function TrackList({
|
||||
</>
|
||||
)}
|
||||
|
||||
{/* Show/hide toggle - Positioned absolutely on the right */}
|
||||
{/* Show/hide toggle - Part of normal flow */}
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon-sm"
|
||||
@@ -548,7 +548,7 @@ export function TrackList({
|
||||
onUpdateTrack(track.id, { automationExpanded: !track.automationExpanded });
|
||||
}}
|
||||
title={track.automationExpanded ? 'Hide automation controls' : 'Show automation controls'}
|
||||
className="absolute right-2 h-5 w-5 flex-shrink-0"
|
||||
className="h-5 w-5 flex-shrink-0"
|
||||
>
|
||||
{track.automationExpanded ? (
|
||||
<Eye className="h-3 w-3" />
|
||||
|
||||
Reference in New Issue
Block a user