From 4ec72617ad3687f53206eb45bd2e83382ffb87b0 Mon Sep 17 00:00:00 2001 From: Charlotte E Walker Date: Thu, 21 Dec 2023 14:30:16 +0000 Subject: [PATCH 1/2] style: added padding to title on product template --- .../ProductTemplateTitle/ProductTemplateTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/templates/ProductTemplate/ProductTemplateTitle/ProductTemplateTitle.tsx b/src/components/templates/ProductTemplate/ProductTemplateTitle/ProductTemplateTitle.tsx index ecdd53fff..2ebc82025 100644 --- a/src/components/templates/ProductTemplate/ProductTemplateTitle/ProductTemplateTitle.tsx +++ b/src/components/templates/ProductTemplate/ProductTemplateTitle/ProductTemplateTitle.tsx @@ -52,7 +52,7 @@ export function ProductTemplateTitle({ {title && ( - breakpoints.phone ? 'h1' : 'h2'} align="center"> + breakpoints.phone ? 'h1' : 'h2'} align="center" className="px-8"> {title} )} From 28920b1c5d6550582bbbcb528d11a51716feaadd Mon Sep 17 00:00:00 2001 From: Charlotte E Walker Date: Thu, 21 Dec 2023 15:52:18 +0000 Subject: [PATCH 2/2] style: added spacing to heading on product template --- .../__snapshots__/ProductTemplateTitle.test.tsx.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/templates/ProductTemplate/ProductTemplateTitle/__snapshots__/ProductTemplateTitle.test.tsx.snap b/src/components/templates/ProductTemplate/ProductTemplateTitle/__snapshots__/ProductTemplateTitle.test.tsx.snap index eeb6a206b..49e9da640 100644 --- a/src/components/templates/ProductTemplate/ProductTemplateTitle/__snapshots__/ProductTemplateTitle.test.tsx.snap +++ b/src/components/templates/ProductTemplate/ProductTemplateTitle/__snapshots__/ProductTemplateTitle.test.tsx.snap @@ -50,7 +50,7 @@ exports[` renders correct sized title on desktop 1`] = ` class="c2 pt-7 m:pt-9 mx-6 m:mx-0" >

ProductTemplateTitle title

@@ -113,7 +113,7 @@ exports[` renders correct sized title on small screens 1 class="c2 pt-7 m:pt-9 mx-6 m:mx-0" >

ProductTemplateTitle title

@@ -190,7 +190,7 @@ exports[` renders with all the props 1`] = ` class="c2 pt-7 m:pt-9 mx-6 m:mx-0" >

ProductTemplateTitle title