File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { productImage } from './productImage';
44export 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' ,
Original file line number Diff line number Diff 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
7272const price = css `
7373 margin- to p: auto ;
74- ${ from . phablet } {
75- margin- to p: 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 >
You can’t perform that action at this time.
0 commit comments