From 1fbc755957f1931a9ebbfe767ba0e42f6ec8a898 Mon Sep 17 00:00:00 2001 From: Awais Ansari Date: Tue, 25 Jul 2023 16:17:57 +0500 Subject: [PATCH] fix: learning header constant height --- .../NavigationBar/CourseTabsNavigation.jsx | 36 +++++++++---------- src/index.scss | 1 - 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/src/components/NavigationBar/CourseTabsNavigation.jsx b/src/components/NavigationBar/CourseTabsNavigation.jsx index 6a1c6fa3..f8ae0cce 100644 --- a/src/components/NavigationBar/CourseTabsNavigation.jsx +++ b/src/components/NavigationBar/CourseTabsNavigation.jsx @@ -24,25 +24,23 @@ const CourseTabsNavigation = ({ }, [courseId]); return ( -
-
- {!!tabs.length && ( - - {tabs.map(({ url, title, slug }) => ( - - {title} - - ))} - - )} -
+
+ {!!tabs.length && ( + + {tabs.map(({ url, title, slug }) => ( + + {title} + + ))} + + )}
); }; diff --git a/src/index.scss b/src/index.scss index 60d834c3..8fdbb139 100755 --- a/src/index.scss +++ b/src/index.scss @@ -280,7 +280,6 @@ header { line-height: 28px; font-family: Inter, Helvetica Neue, Arial, sans-serif; font-size: 18px !important; - height: 60px !important; .user-dropdown { button {