Skip to content

Commit

Permalink
JNG-6002 fix logo dimensions (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
noherczeg authored Nov 4, 2024
1 parent 8f76da2 commit b2be7d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export const DrawerHeader = ({ open }: DrawerHeaderProps) => {
width: isHorizontal ? { xs: '100%', lg: '424px' } : 'inherit',
paddingTop: isHorizontal ? { xs: '10px', lg: '0' } : '8px',
paddingBottom: isHorizontal ? { xs: '18px', lg: '0' } : '8px',
paddingLeft: isHorizontal ? { xs: '24px', lg: '0' } : open ? '24px' : 0
paddingLeft: isHorizontal ? { xs: '24px', lg: '0' } : open ? '24px' : 0,
paddingRight: isHorizontal ? { xs: '24px', lg: '0' } : open ? '24px' : 0,
} }
>
<LogoSection isIcon={!open} sx={ { width: open ? 'auto' : 35, height: 35 } } />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export const LogoMain = ({ reverse, ...others }: { reverse?: boolean }) => {
const logoProps = useLogoProps();

return (
<img src={logoProps.imgSrc} style={ { height: '100%', maxWidth: '100%' } } />
<img src={logoProps.imgSrc} style={ { maxHeight: '100%', maxWidth: '100%' } } />
);
};

0 comments on commit b2be7d9

Please sign in to comment.