File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,18 @@ const headingFont = css`
2727const headingArea = css `
2828 grid- row: 1;
2929` ;
30+ const readMoreArea = css `
31+ grid- row: 2;
32+ padding- botto m: ${ space [ 2 ] } px;
33+ ` ;
34+ const imageArea = css `
35+ padding- botto m: ${ space [ 1 ] } px;
36+ grid- row: 3;
37+ img {
38+ width: 100%;
39+ height: auto ;
40+ }
41+ ` ;
3042const belowImageArea = css `
3143 grid- row: 4;
3244` ;
@@ -41,7 +53,6 @@ const readMoreCta = css`
4153 text- decor ation- color : ${ palette ( '--product-card-read-more-decoration' ) } ;
4254 color : ${ palette ( '--product-card-read-more' ) } ;
4355 text- underline-offset: 20%;
44- padding- botto m: ${ space [ 2 ] } px;
4556` ;
4657
4758const price = css `
@@ -57,19 +68,7 @@ const buttonWrapper = css`
5768 padding- botto m: ${ space [ 4 ] } px;
5869` ;
5970
60- const imageArea = css `
61- padding- botto m: ${ space [ 1 ] } px;
62- grid- row: 3;
63- img {
64- width: 100%;
65- height: auto ;
66- }
67- ` ;
68-
69- const readMoreArea = css `
70- grid- row: 2;
71- ` ;
72- const brandAndProductNameFont = css `
71+ const brandAndProductNameStyles = css `
7372 ${ headlineMedium17 } ;
7473 line-height: 1.3;
7574` ;
@@ -96,7 +95,7 @@ export const ProductCarouselCard = ({
9695 __html : product . primaryHeadingHtml ,
9796 } }
9897 />
99- < div css = { brandAndProductNameFont } >
98+ < div css = { brandAndProductNameStyles } >
10099 { `${ product . brandName } ${ product . productName } ` }
101100 </ div >
102101 </ >
You can’t perform that action at this time.
0 commit comments