Skip to content

Commit 2722631

Browse files
committed
Update font sizes at mobile breakpoints
1 parent d6d0fae commit 2722631

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

dotcom-rendering/src/components/CardHeadline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export const CardHeadline = ({
227227
css={css`
228228
color: ${headlineColour};
229229
`}
230-
className="show-underline"
230+
className="show-underline headline-text"
231231
>
232232
{headlineText}
233233
{isExternalLink && (

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ const content = css`
100100
${from.tablet} {
101101
padding-bottom: 10px;
102102
}
103+
104+
/* We're deliberately using a font-size that is not in Source at a particular breakpoint */
105+
${between.mobileMedium.and.mobileLandscape} {
106+
.headline-text {
107+
font-size: 1rem;
108+
}
109+
}
103110
`;
104111

105112
const starWrapper = css`
@@ -144,7 +151,7 @@ export const HighlightsCard = ({
144151
desktop: 'xxsmall',
145152
tablet: 'xxsmall',
146153
mobileMedium: 'xxsmall',
147-
mobile: 'tiny',
154+
mobile: 'xxxsmall',
148155
}}
149156
showPulsingDot={
150157
format.design === ArticleDesign.LiveBlog

0 commit comments

Comments
 (0)