Skip to content

Commit b9c655b

Browse files
committed
Change font size
1 parent 77eb827 commit b9c655b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Product/SingleProduct.component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ const SingleProduct = ({ product }: IProductRootObject) => {
7979
/>
8080
)}
8181
<div className="px-4 md:ml-8">
82-
<h1 className="text-3xl font-bold text-center md:text-left mb-4">
82+
<h1 className="text-2xl font-bold text-center md:text-left mb-4">
8383
{name}
8484
</h1>
8585
{/* Display sale price when on sale */}
8686
{onSale && (
8787
<div className="flex flex-col md:flex-row items-center md:items-start mb-4">
88-
<p className="text-3xl font-bold text-gray-900">
88+
<p className="text-2xl font-bold text-gray-900">
8989
{product.variations && filteredVariantPrice(price, '')}
9090
{!product.variations && salePrice}
9191
</p>
@@ -97,7 +97,7 @@ const SingleProduct = ({ product }: IProductRootObject) => {
9797
)}
9898
{/* Display regular price when not on sale */}
9999
{!onSale && (
100-
<p className="text-2xl font-bold mb-4">{price}</p>
100+
<p className="text-2xl font-bold mb-4">{price}</p>
101101
)}
102102
<p className="text-lg mb-4 text-center md:text-left">{DESCRIPTION_WITHOUT_HTML}</p>
103103
{Boolean(product.stockQuantity) && (

0 commit comments

Comments
 (0)