diff --git a/apps/web/src/components/editor/timeline-element.tsx b/apps/web/src/components/editor/timeline-element.tsx
index ca229818..8cccd0e4 100644
--- a/apps/web/src/components/editor/timeline-element.tsx
+++ b/apps/web/src/components/editor/timeline-element.tsx
@@ -277,11 +277,11 @@ export function TimelineElement({
const tileWidth = tileHeight * TILE_ASPECT_RATIO;
return (
-
-
+
+
{/* Background with tiled images */}
{/* Overlay with vertical borders */}
-
+
+
{/* Background with tiled thumbnails */}
{/* Overlay with vertical borders */}
- {/* Show name overlay on the right if there's sufficient space */}
- {elementWidth > tileWidth * OVERLAY_SPACE_MULTIPLIER && (
+ {elementWidth > tileWidth * OVERLAY_SPACE_MULTIPLIER ? (
{element.name}
+ ) : (
+
+ {element.name}
+
)}
);