Skip to content

Commit ce90bda

Browse files
committed
reduce image size for more gallery splash card
1 parent af5b06b commit ce90bda

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

dotcom-rendering/src/components/Card/Card.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,8 @@ export const Card = ({
591591
};
592592

593593
const hideTrailTextUntil = () => {
594-
if (isFlexibleContainer) {
594+
if (isFlexibleContainer || (isOnwardContainer && isFlexSplash)) {
595595
return undefined;
596-
} else if (isOnwardContainer && isFlexSplash) {
597-
return 'mobile';
598596
} else if (
599597
imageSize === 'large' &&
600598
imagePositionOnDesktop === 'right' &&

dotcom-rendering/src/components/FetchOnwardsData.importable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const FetchOnwardsData = ({
9090
absoluteServerTimes={absoluteServerTimes}
9191
trails={buildTrails(data.trails, limit, isAdFreeUser, true)}
9292
discussionApiUrl={discussionApiUrl}
93-
heading={'More Galleries'}
93+
heading="More galleries"
9494
onwardsSource={onwardsSource}
9595
/>
9696
) : (

dotcom-rendering/src/components/MoreGalleries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ const MoreGalleriesSplashCard = ({
234234
},
235235
imagePositionOnDesktop: 'right',
236236
imagePositionOnMobile: 'top',
237-
imageSize: 'large',
237+
imageSize: 'medium',
238238
isFlexSplash: true,
239239
};
240240
return (

0 commit comments

Comments
 (0)