Skip to content

Commit cd213e4

Browse files
committed
Update to match designs
1 parent aacdb88 commit cd213e4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

dotcom-rendering/fixtures/manual/productBlockElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { productImage } from './productImage';
44
export const exampleProduct: ProductBlockElement = {
55
_type: 'model.dotcomrendering.pageElements.ProductBlockElement',
66
elementId: 'b1f6e8e2-3f3a-4f0c-8d1e-5f3e3e3e3e3e',
7-
primaryHeadingHtml: '<em>Best Kettle overall</em>',
7+
primaryHeadingHtml: 'Best overall',
88
secondaryHeadingHtml: 'Bosch Sky Kettle',
99
brandName: 'Bosch',
1010
productName: 'Sky Kettle',

dotcom-rendering/src/components/HorizontalSummaryProductCard.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,12 @@ const productCardHeading = css`
6565
color: ${palette('--product-card-headline')};
6666
`;
6767

68-
const productNameFont = css`
68+
const secondaryHeading = css`
6969
${headlineMedium17};
7070
`;
7171

7272
const price = css`
7373
margin-top: auto;
74-
${from.phablet} {
75-
margin-top: 0;
76-
}
7774
${textSansBold17};
7875
`;
7976

@@ -103,7 +100,7 @@ export const HorizontalSummaryProductCard = ({
103100
__html: product.primaryHeadingHtml,
104101
}}
105102
></div>
106-
<div css={productNameFont}>{product.productName}</div>
103+
<div css={secondaryHeading}>{product.secondaryHeadingHtml}</div>
107104
<a href={`#${product.h2Id}`} css={readMore}>
108105
Read more
109106
</a>

0 commit comments

Comments
 (0)