From b93caf4ebc2b5a86d5caa0d159e7734c82c0b2d1 Mon Sep 17 00:00:00 2001 From: zeppi Date: Fri, 30 Jul 2021 12:07:32 -0400 Subject: [PATCH] fix logo image --- ui/component/logo/view.jsx | 9 ++++++--- ui/scss/component/_header.scss | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ui/component/logo/view.jsx b/ui/component/logo/view.jsx index 2251cd0e4..145219a1a 100644 --- a/ui/component/logo/view.jsx +++ b/ui/component/logo/view.jsx @@ -26,12 +26,12 @@ export default function Logo(props: Props) { ); if (type === 'small' || (isMobile && type !== 'embed')) { - return LOGO ? : ; + return LOGO ? : ; } else if (type === 'embed') { if (LOGO_TEXT_LIGHT) { return ( <> - + ); } else { @@ -41,7 +41,10 @@ export default function Logo(props: Props) { if (LOGO_TEXT_LIGHT && LOGO_TEXT_DARK) { return ( <> - + ); } else { diff --git a/ui/scss/component/_header.scss b/ui/scss/component/_header.scss index 207f14eac..201789375 100644 --- a/ui/scss/component/_header.scss +++ b/ui/scss/component/_header.scss @@ -71,6 +71,11 @@ display: flex; } +.header__navigation-logo { + height: var(--height-button); + max-width: fit-content; +} + .header__navigation-item { height: var(--height-button); display: flex;