diff --git a/dotcom-rendering/src/layouts/HostedGalleryLayout.stories.tsx b/dotcom-rendering/src/layouts/HostedGalleryLayout.stories.tsx index 65de50cda57..5f468c1478c 100644 --- a/dotcom-rendering/src/layouts/HostedGalleryLayout.stories.tsx +++ b/dotcom-rendering/src/layouts/HostedGalleryLayout.stories.tsx @@ -12,13 +12,6 @@ import { HostedGalleryLayout } from './HostedGalleryLayout'; const meta = preview.meta({ title: 'Layouts/HostedGallery', component: HostedGalleryLayout, - parameters: { - chromatic: { - modes: { - 'light leftCol': allModes['light leftCol'], - }, - }, - }, }); const format = { @@ -38,6 +31,11 @@ export const Apps = meta.story({ renderingTarget: 'Apps', }, parameters: { + chromatic: { + modes: { + 'light mobileMedium': allModes['light mobileMedium'], + }, + }, config: { renderingTarget: 'Apps', }, @@ -55,6 +53,11 @@ export const Web = meta.story({ renderingTarget: 'Web', }, parameters: { + chromatic: { + modes: { + 'light leftCol': allModes['light leftCol'], + }, + }, config: { renderingTarget: 'Web', }, diff --git a/dotcom-rendering/src/layouts/HostedGalleryLayout.tsx b/dotcom-rendering/src/layouts/HostedGalleryLayout.tsx index 84c578117ab..a12040f7612 100644 --- a/dotcom-rendering/src/layouts/HostedGalleryLayout.tsx +++ b/dotcom-rendering/src/layouts/HostedGalleryLayout.tsx @@ -140,19 +140,17 @@ export const HostedGalleryLayout = (props: WebProps | AppProps) => { standfirst={frontendData.standfirst} /> - {renderingTarget === 'Web' && ( -
- {cta?.url && ( -
- -
- )} +
+ {cta?.url && ( +
+ +
+ )} + {renderingTarget === 'Web' && ( { context="ArticleMeta" /> -
- )} + )} +