diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 2ac87ec8e..033f73e98 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -182,10 +182,11 @@ export function Sidebar({ : null } > - + {content.title} - + + {renderContent(content.children)} @@ -196,7 +197,7 @@ export function Sidebar({ ) @@ -204,22 +205,22 @@ export function Sidebar({ } >
-
-
+
{content.type === 'video' && } {content.type === 'video' && } {content.type === 'notion' && }
-
+
{content.title}
{content.type === 'video' && ( - +
+ +
)} -
); @@ -243,6 +244,7 @@ export function Sidebar({ {sidebarOpen ? : } {sidebarOpen ? 'Hide Contents' : 'Show Contents'} + {sidebarOpen && ( `item-${num}`)} - className="w-full px-4 pb-40 capitalize" + className="w-full px-2 pb-40 capitalize" > {memoizedContent}