From 3d6b71c247a77c8986bf647d3377bfafe4b3dd93 Mon Sep 17 00:00:00 2001 From: Awais Ansari <79941147+awais-ansari@users.noreply.github.com> Date: Wed, 26 Jul 2023 14:42:07 +0500 Subject: [PATCH] fix: learning header constant height (#551) --- .../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 {