Skip to content

Commit

Permalink
ActiveCampaignCard: Move to even better aspectRatio values
Browse files Browse the repository at this point in the history
Seems stable enough across all >1200px widths
  • Loading branch information
sashko9807 committed Sep 14, 2023
1 parent 3d74e3d commit 75bbc38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default function ActiveCampaignCard({ campaign, index }: Props) {
width: '100%',
aspectRatio: 1.5,
[theme.breakpoints.up('lg')]: {
maxHeight: index === 0 ? theme.spacing(71.2) : theme.spacing(27.6),
aspectRatio: index === 0 ? 1.08 : 1.37,
maxHeight: index === 0 ? theme.spacing(71.2) : theme.spacing(27.65),
aspectRatio: index === 0 ? 0.9 : 1,
},
}}>
<Image
Expand Down

0 comments on commit 75bbc38

Please sign in to comment.