Skip to content

Commit e5d6189

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

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
@@ -211,7 +211,9 @@ const captionLink = css`
211211
`;
212212

213213
const galleryStyles = css`
214-
${grid.column.centre}
214+
${grid.column.centre};
215+
${textSans12};
216+
215217
margin-bottom: 0;
216218
padding-bottom: 6px;
217219
${from.leftCol} {

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)