From 18f4f3689dbb81184622a6c9b27c32004c910fb3 Mon Sep 17 00:00:00 2001 From: Rajveer Singh Date: Thu, 12 Dec 2024 01:25:36 +0530 Subject: [PATCH] fix: iframe-video positioning and width fixes along with some accordion styling fixes (#1625) * fix: iframe-video positioning and width * fix: increased sidebar padding-bottom to ensure the last accordion is visible, and centered accordion text for smaller screen sizes * fixed position and alignment of filter button * minor fix: removed the unnessary ugly looking borders around show contents button * Resolved logo and search icon overlap in the navbar on small mobile devices --- src/app/courses/[courseId]/layout.tsx | 4 ++-- src/components/AppxVideoPlayer.tsx | 2 +- src/components/Navbar.tsx | 2 +- src/components/Sidebar.tsx | 4 ++-- src/components/VideoPlayerSegment.tsx | 2 +- src/components/ui/accordion.tsx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/courses/[courseId]/layout.tsx b/src/app/courses/[courseId]/layout.tsx index df922375a..827af309b 100644 --- a/src/app/courses/[courseId]/layout.tsx +++ b/src/app/courses/[courseId]/layout.tsx @@ -49,11 +49,11 @@ const Layout = async ({ const fullCourseContent = await getFullCourseContent(parseInt(courseId, 10)); return (
-
+
-
+
diff --git a/src/components/AppxVideoPlayer.tsx b/src/components/AppxVideoPlayer.tsx index 33158780e..5e24f0686 100644 --- a/src/components/AppxVideoPlayer.tsx +++ b/src/components/AppxVideoPlayer.tsx @@ -38,7 +38,7 @@ export const AppxVideoPlayer = ({ } return ; }; diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 052a855c5..14e7375b5 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -80,7 +80,7 @@ export const Navbar = () => { className="size-10 rounded-full" />

100xDevs

diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index fa94b2f7f..2ac87ec8e 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -234,7 +234,7 @@ export function Sidebar({ ); return ( -
+