From 0313b085fee911d415a4e173214fd13e8b0a1406 Mon Sep 17 00:00:00 2001 From: hkirat Date: Sun, 25 Feb 2024 07:51:40 +0100 Subject: [PATCH] Added changes from #106 --- src/app/courses/[...courseId]/page.tsx | 4 +- src/app/globals.css | 7 +- src/app/layout.tsx | 2 +- src/components/CourseView.tsx | 92 ++++++++++++-------------- src/components/Sidebar.tsx | 21 +++--- 5 files changed, 59 insertions(+), 67 deletions(-) diff --git a/src/app/courses/[...courseId]/page.tsx b/src/app/courses/[...courseId]/page.tsx index aeb91435a..261a833bc 100644 --- a/src/app/courses/[...courseId]/page.tsx +++ b/src/app/courses/[...courseId]/page.tsx @@ -77,7 +77,7 @@ export default async function Course({ } return ( -
+ <> -
+ ); } diff --git a/src/app/globals.css b/src/app/globals.css index fcd9cceb6..85b616f41 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -66,13 +66,14 @@ transform: translateX(-50%); } + /* Hide scrollbar for Chrome, Safari and Opera */ -.hide-scrollbar::-webkit-scrollbar { +.no-scrollbar::-webkit-scrollbar { display: none; } /* Hide scrollbar for IE, Edge and Firefox */ -.hide-scrollbar { +.no-scrollbar { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ -} +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index daecca454..9cd309020 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -42,7 +42,7 @@ export default function RootLayout({ -
{children}
+
{children}