diff --git a/src/components/client/campaigns/CampaignCard/CampaignCard.tsx b/src/components/client/campaigns/CampaignCard/CampaignCard.tsx index 49325d036..b53f0c42e 100644 --- a/src/components/client/campaigns/CampaignCard/CampaignCard.tsx +++ b/src/components/client/campaigns/CampaignCard/CampaignCard.tsx @@ -53,8 +53,8 @@ export default function ActiveCampaignCard({ campaign, index }: Props) { position={'relative'} sx={{ width: '100%', - aspectRatio:1.5, - maxHeight: theme.spacing(27.9) + aspectRatio: 1.5, + maxHeight: theme.spacing(27.9), }}> {campaignState === CampaignState.complete && percentage >= 100 ? ( diff --git a/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx b/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx index 2a9e84ad2..03dd2f50c 100644 --- a/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx +++ b/src/components/client/index/sections/ActiveCampaignsSection/ActiveCampaignCard/ActiveCampaignCard.tsx @@ -45,11 +45,11 @@ export default function ActiveCampaignCard({ campaign, index }: Props) { // height: index === 0 ? theme.spacing(71.6) : theme.spacing(27.85), // }, width: '100%', - aspectRatio:1.5, + aspectRatio: 1.5, [theme.breakpoints.up('lg')]: { - maxHeight: index === 0 ? theme.spacing(71.6) : theme.spacing(27.85), - aspectRatio: index === 0 ? 1.24 : 1.55 - } + maxHeight: index === 0 ? theme.spacing(71.6) : theme.spacing(27.85), + aspectRatio: index === 0 ? 1.24 : 1.55, + }, }}> theme.spacing(37.5)}} - > - {campaign.title} - + sx={{ position: 'relative', aspectRatio: 1, height: (theme) => theme.spacing(37.5) }}> + {campaign.title} + {i18n.language === 'bg'