File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ const imageContainer = css`
3636 grid-area : image;
3737` ;
3838const informationContainer = css `
39+ display : flex;
40+ flex-direction : column;
3941 grid-area : information;
4042` ;
4143
@@ -56,7 +58,6 @@ const readMore = css`
5658 text- decor ation- color : ${ palette ( '--product-card-read-more-decoration' ) } ;
5759 color : ${ palette ( '--product-card-read-more' ) } ;
5860 text- underline-offset: 20%;
59- padding- botto m: ${ space [ 2 ] } px;
6061` ;
6162
6263const productCardHeading = css `
@@ -68,7 +69,11 @@ const productNameFont = css`
6869 ${ headlineMedium17 } ;
6970` ;
7071
71- const priceFont = css `
72+ const price = css `
73+ margin- to p: auto ;
74+ ${ from . phablet } {
75+ margin- to p: 0;
76+ }
7277 ${ textSansBold17 } ;
7378` ;
7479
@@ -99,10 +104,10 @@ export const HorizontalSummaryProductCard = ({
99104 } }
100105 > </ div >
101106 < div css = { productNameFont } > { product . productName } </ div >
102- < div css = { priceFont } > { cardCta . price } </ div >
103107 < a href = { `#${ product . h2Id } ` } css = { readMore } >
104108 Read more
105109 </ a >
110+ < div css = { price } > { cardCta . price } </ div >
106111 </ div >
107112 < div css = { buttonContainer } >
108113 < ProductLinkButton
You can’t perform that action at this time.
0 commit comments