File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ export const CardHeadline = ({
227
227
css = { css `
228
228
color : ${ headlineColour } ;
229
229
` }
230
- className = "show-underline"
230
+ className = "show-underline headline-text "
231
231
>
232
232
{ headlineText }
233
233
{ isExternalLink && (
Original file line number Diff line number Diff line change @@ -100,6 +100,16 @@ const content = css`
100
100
${ from . tablet } {
101
101
padding-bottom : 10px ;
102
102
}
103
+
104
+ /**
105
+ * We're deliberately using a font-size that is not in Source so that
106
+ * the headline doesn't exceed three lines across all mobile breakpoints
107
+ */
108
+ ${ between . mobileMedium . and . mobileLandscape } {
109
+ .headline-text {
110
+ font-size : 1rem ;
111
+ }
112
+ }
103
113
` ;
104
114
105
115
const starWrapper = css `
@@ -144,7 +154,7 @@ export const HighlightsCard = ({
144
154
desktop : 'xxsmall' ,
145
155
tablet : 'xxsmall' ,
146
156
mobileMedium : 'xxsmall' ,
147
- mobile : 'tiny ' ,
157
+ mobile : 'xxxsmall ' ,
148
158
} }
149
159
showPulsingDot = {
150
160
format . design === ArticleDesign . LiveBlog
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const meta: Meta<typeof ScrollableHighlights> = {
11
11
chromatic : {
12
12
viewports : [
13
13
breakpoints . mobile ,
14
+ breakpoints . mobileMedium ,
14
15
breakpoints . mobileLandscape ,
15
16
breakpoints . tablet ,
16
17
breakpoints . wide ,
You can’t perform that action at this time.
0 commit comments