Skip to content

Commit

Permalink
Small tidy of image size logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Oct 17, 2024
1 parent 38d0e2e commit a9e436b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions dotcom-rendering/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,7 @@ export const Card = ({
desktop: 'small',
};
}

if (isFlexibleContainer) {
return {
mobile: 'small',
};
}

if (isFlexibleContainer) return { mobile: 'small' };
return { mobile: 'medium' };
};

Expand Down

0 comments on commit a9e436b

Please sign in to comment.