From 4170ee4f5b14e35ba00988b90a4c20377001f3b3 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Thu, 17 Jul 2025 17:34:18 +0200 Subject: [PATCH] cleanup: tailwind classes --- apps/web/src/components/editor/timeline/timeline-content.tsx | 2 +- apps/web/src/components/editor/timeline/timeline-ruler.tsx | 2 +- .../src/components/editor/timeline/timeline-tracks-area.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/editor/timeline/timeline-content.tsx b/apps/web/src/components/editor/timeline/timeline-content.tsx index 0229c418..05b7d4bd 100644 --- a/apps/web/src/components/editor/timeline/timeline-content.tsx +++ b/apps/web/src/components/editor/timeline/timeline-content.tsx @@ -64,7 +64,7 @@ export function TimelineContent({ className={`h-full grid grid-cols-[192px_1fr] ${tracks.length > 0 ? `grid-rows-[20px_repeat(${tracks.length},minmax(0,max-content))]` : "grid-rows-[20px_1fr]"}`} > {/* Top-Left Corner (Empty space above track labels) */} -
+
{/* Top Row (Sticky Ruler Header) */} {/* Left Column (Sticky Track Labels) */}
@@ -77,7 +77,7 @@ export function TimelineTracksArea({ {/* Add Track Button - spans full width */}
addTrack("media")} - className="col-span-1 sticky left-0 w-full flex items-center border-b border-muted bg-card/[0.99] hover:bg-card/50 transition-colors cursor-pointer z-[89]" + className="col-span-1 sticky left-0 w-full flex items-center border-b border-muted bg-card hover:bg-card/50 transition-colors cursor-pointer z-[100]" style={{ height: `${getTrackHeight("media")}px` }} >