From 10889a570dfc8d5146297400e6afa6f73d997863 Mon Sep 17 00:00:00 2001 From: Haider Alshamma Date: Fri, 14 Jun 2024 15:00:42 -0400 Subject: [PATCH] fix: logo overflow when using large components --- src/BrandedNavBar/BrandLogoContainer.tsx | 1 + src/BrandedNavBar/NavBar.story.tsx | 1 - src/BrandedNavBar/NulogyLogoContainer.tsx | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BrandedNavBar/BrandLogoContainer.tsx b/src/BrandedNavBar/BrandLogoContainer.tsx index 61cb55f8f..d87b9396f 100644 --- a/src/BrandedNavBar/BrandLogoContainer.tsx +++ b/src/BrandedNavBar/BrandLogoContainer.tsx @@ -29,6 +29,7 @@ const BrandLogoContainer = ({ to={brandingLinkTo} as={brandingLinkComponent} underline={false} + size="medium" style={{ display: "block" }} > {logoSrc && } diff --git a/src/BrandedNavBar/NavBar.story.tsx b/src/BrandedNavBar/NavBar.story.tsx index 4cbac4760..132b086b9 100644 --- a/src/BrandedNavBar/NavBar.story.tsx +++ b/src/BrandedNavBar/NavBar.story.tsx @@ -132,7 +132,6 @@ const secondaryMenuWithIcon = [ }, ]; -const menuData = { primaryMenu, secondaryMenu }; export default { title: "Components/BrandedNavBar", }; diff --git a/src/BrandedNavBar/NulogyLogoContainer.tsx b/src/BrandedNavBar/NulogyLogoContainer.tsx index 1d83afdd9..450b2a6f5 100644 --- a/src/BrandedNavBar/NulogyLogoContainer.tsx +++ b/src/BrandedNavBar/NulogyLogoContainer.tsx @@ -16,7 +16,6 @@ export const NulogyLogoContainer = ({ subText, height }: NulogyLogoContainerProp px="x1" py="half" alignItems="center" - // boxShadow="small" justifyContent="center" flexDirection={subText ? "column" : "row"} height={height}