Skip to content

Commit

Permalink
fix: logo overflow when using large components (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh committed Jun 17, 2024
1 parent 6eb38db commit e30739e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/BrandedNavBar/BrandLogoContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const BrandLogoContainer = ({
to={brandingLinkTo}
as={brandingLinkComponent}
underline={false}
size="medium"
style={{ display: "block" }}
>
{logoSrc && <img src={logoSrc} style={{ maxWidth: MAX_LOGO_WIDTH, maxHeight: MAX_LOGO_HEIGHT }} alt="" />}
Expand Down
1 change: 0 additions & 1 deletion src/BrandedNavBar/NavBar.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const secondaryMenuWithIcon = [
},
];

const menuData = { primaryMenu, secondaryMenu };
export default {
title: "Components/BrandedNavBar",
};
Expand Down
1 change: 0 additions & 1 deletion src/BrandedNavBar/NulogyLogoContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e30739e

Please sign in to comment.