diff --git a/apps/docs/components/ui/video-chapters.tsx b/apps/docs/components/ui/video-chapters.tsx index 9a9ce3fba58..3010195bcb8 100644 --- a/apps/docs/components/ui/video-chapters.tsx +++ b/apps/docs/components/ui/video-chapters.tsx @@ -1,7 +1,6 @@ 'use client' import { useEffect, useState } from 'react' -import { CirclePlay } from 'lucide-react' import { cn } from '@/lib/utils' /** Parse a chapter timestamp ("M:SS" or "H:MM:SS") into seconds. */ @@ -26,9 +25,10 @@ interface VideoChaptersProps { } /** - * Right-rail panel listing the current video's chapters, styled to match the - * Academy's course panels. Rows are skip-to controls; they activate once the - * lesson's video is recorded. + * Right-rail list of the current video's chapters — flat and borderless to + * match the docs' "On this page" TOC (small muted label, hover-highlighted + * rows). Rows are skip-to controls; they activate once the lesson's video is + * recorded. */ export function VideoChapters({ title = 'Chapters', chapters, className }: VideoChaptersProps) { // Chapters only seek when a VideoPlaceholder with a real video is on the page. @@ -42,13 +42,8 @@ export function VideoChapters({ title = 'Chapters', chapters, className }: Video }, []) return ( -