From b61b18dcfccf133faedb35470add8c478892120c Mon Sep 17 00:00:00 2001 From: Ivo Branco Date: Thu, 12 Dec 2024 00:13:12 +0000 Subject: [PATCH] feat: review header Add max width for org logos, there are logos too wide. Increase course name to full width, it hides if not has available space. Show language select compacted version on 1200 width. --- src/learning-header/LearningHeader.jsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/learning-header/LearningHeader.jsx b/src/learning-header/LearningHeader.jsx index 0ffb3382e..b5e561c04 100644 --- a/src/learning-header/LearningHeader.jsx +++ b/src/learning-header/LearningHeader.jsx @@ -68,13 +68,12 @@ const LearningHeader = ({ {headerLogo}
- {enableOrgLogo ? ( - (courseOrg && logoOrg) - && {`${courseOrg} - ) : null} + {enableOrgLogo && courseOrg && logoOrg && ( + {`${courseOrg} + )} {courseTitle} @@ -82,14 +81,14 @@ const LearningHeader = ({
{getConfig().ENABLE_HEADER_LANG_SELECTOR && (
- + - +