Skip to content

Commit

Permalink
Fix the sticky video path; it now stays at the top while scrolling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheapstar committed Dec 13, 2024
1 parent 246752d commit da7bfa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CourseView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export const CourseView = ({
: courseContent?.value.type;

return (
<div className="relative flex w-full flex-col gap-8 pb-16 pt-8 xl:pt-[9px]">
<div className="sticky top-[73px] z-10 flex flex-col gap-4 bg-background py-2 xl:pt-2">
<div className="relative flex z-0 w-full flex-col gap-8 pb-16 pt-8 xl:pt-[9px]">
<div className="sticky top-[72px] z-10 bg-background py-2 xl:pt-2">
<BreadCrumbComponent
course={course}
contentType={contentType}
Expand Down

0 comments on commit da7bfa2

Please sign in to comment.