Skip to content

Commit

Permalink
CAT-1001 fix homepage image behavior with shrinking viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAkhmetov committed Nov 7, 2024
1 parent fa9c12d commit b864355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-cat-1000-1001.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix minor graphical issues in homepage hero section.
8 changes: 3 additions & 5 deletions context/app/static/js/components/home/Hero/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export const HeroPanelContainer = styled(Box)<HeroSubContainerProps>(({ theme, $
},
}));

export const StyledImage = styled('img')(({ theme }) => ({
[theme.breakpoints.up('md')]: {
maxWidth: '100%',
height: 'auto',
},
export const StyledImage = styled('img')(() => ({
maxWidth: '100%',
height: 'auto',
}));

0 comments on commit b864355

Please sign in to comment.