Skip to content

Commit 2ba3111

Browse files
deedeehmarjisound
andcommitted
Fix caption and standfirst fonts for Labs Gallery
Co-authored-by: Marjan Kalanaki <[email protected]>
1 parent a734386 commit 2ba3111

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

dotcom-rendering/src/components/Caption.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ const captionLink = css`
210210
`;
211211

212212
const galleryStyles = css`
213-
${grid.column.centre}
213+
${grid.column.centre};
214+
${textSans12};
215+
214216
${from.leftCol} {
215217
${grid.column.left}
216218
grid-row-start: 8;

dotcom-rendering/src/components/Standfirst.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
textSans17,
1313
textSans20,
1414
textSans24,
15+
textSansBold15,
1516
} from '@guardian/source/foundations';
1617
import sanitise from 'sanitize-html';
1718
import { grid } from '../../src/grid';
@@ -83,6 +84,11 @@ const decideFont = ({ display, design, theme }: ArticleFormat) => {
8384
const isLabs = theme === ArticleSpecial.Labs;
8485
switch (design) {
8586
case ArticleDesign.Gallery:
87+
if (isLabs) {
88+
return css`
89+
${textSansBold15};
90+
`;
91+
}
8692
return css`
8793
${headlineBold17}
8894
`;

0 commit comments

Comments
 (0)