Skip to content

Commit 941e6ac

Browse files
mobile first css
1 parent 288e33a commit 941e6ac

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

dotcom-rendering/src/components/InlineProductCard.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
textSans20,
1010
textSansBold17,
1111
textSansBold20,
12-
until,
1312
} from '@guardian/source/foundations';
1413
import type { ArticleFormat } from '../lib/articleFormat';
1514
import { palette } from '../palette';
@@ -73,17 +72,17 @@ const productInfoContainer = css`
7372
display: flex;
7473
flex-direction: column;
7574
gap: ${space[1]}px;
76-
${textSans20};
75+
${textSans17};
7776
78-
${until.mobileLandscape} {
79-
${textSans17};
77+
${from.mobileLandscape} {
78+
${textSans20};
8079
}
8180
`;
8281

8382
const primaryHeading = css`
84-
${headlineMedium24};
85-
${until.mobileLandscape} {
86-
${headlineMedium20};
83+
${headlineMedium20};
84+
${from.mobileLandscape} {
85+
${headlineMedium24};
8786
}
8887
`;
8988

0 commit comments

Comments
 (0)