From 75bbc3854fcf7e71292ab0095c985815c7d3e9f2 Mon Sep 17 00:00:00 2001 From: Alexander Petkov Date: Thu, 14 Sep 2023 12:57:35 +0300 Subject: [PATCH] ActiveCampaignCard: Move to even better aspectRatio values Seems stable enough across all >1200px widths --- .../ActiveCampaignCard/ActiveCampaignCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx b/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx index d4d428bde..9e5b5bdda 100644 --- a/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx +++ b/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx @@ -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, }, }}>