Skip to content

Commit 0d4e28d

Browse files
committed
Update highlights card image to 98px
1 parent 9d74d6f commit 0d4e28d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

dotcom-rendering/src/components/CardPicture.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ const decideImageWidths = (
4545
return [{ breakpoint: breakpoints.mobile, width: 80, aspectRatio }];
4646

4747
case 'highlights-card':
48-
return [
49-
{ breakpoint: breakpoints.mobile, width: 112, aspectRatio },
50-
];
48+
return [{ breakpoint: breakpoints.mobile, width: 98, aspectRatio }];
5149

5250
case 'carousel':
5351
return [

dotcom-rendering/src/components/Masthead/HighlightsCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ const mediaIcon = css`
8787

8888
const imageArea = css`
8989
grid-area: image;
90-
height: 112px;
91-
width: 112px;
90+
height: 98px;
91+
width: 98px;
9292
align-self: end;
9393
position: relative;
9494
${until.desktop} {

0 commit comments

Comments
 (0)