Skip to content

Commit b51b6b8

Browse files
committed
Improve comment
1 parent ccdb1b1 commit b51b6b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ const content = css`
101101
padding-bottom: 10px;
102102
}
103103
104-
/* We're deliberately using a font-size that is not in Source at a particular breakpoint */
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+
*/
105108
${between.mobileMedium.and.mobileLandscape} {
106109
.headline-text {
107110
font-size: 1rem;

0 commit comments

Comments
 (0)