From 15f7dbc543ba107ff69646d311869687bb057201 Mon Sep 17 00:00:00 2001 From: Harpreet Singh Date: Sat, 3 Feb 2024 00:11:18 +0100 Subject: [PATCH] FIX: hamburger flipped, cahpter title not visible on white mode, and animated on hover cards --- src/components/ContentCard.tsx | 2 +- src/components/Sidebar.tsx | 6 +++--- src/components/VideoContentChapters.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/ContentCard.tsx b/src/components/ContentCard.tsx index af30dd807..ba36abaf6 100644 --- a/src/components/ContentCard.tsx +++ b/src/components/ContentCard.tsx @@ -8,7 +8,7 @@ export const ContentCard = ({ onClick: () => void }) => { return ( -
+
{title}
{title}
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 7cc179fca..39067023b 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -127,18 +127,18 @@ export function ToggleButton({ className="flex flex-col justify-center items-center" >
= start && currentTime < end ? 'bg-[#27272A]' : ''}`} + className={`dark:text-white text-black p-2 py-3 flex items-center gap-3 justify-between cursor-pointer ${currentTime >= start && currentTime < end ? 'bg-[#27272A]' : ''}`} onClick={() => { player.currentTime(start); player.play();