Skip to content

Commit 715f202

Browse files
authored
Merge pull request #1308 from w3bdesign/develop
Product font size
2 parents c36497e + 01184e9 commit 715f202

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Product/DisplayProducts.component.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
111111
>
112112
<span>
113113
<div className="flex justify-center pt-3">
114-
<p className="font-bold text-center cursor-pointer">
114+
<p className="font-bold text-center cursor-pointer text-2xl">
115115
{name}
116116
</p>
117117
</div>
@@ -120,19 +120,19 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
120120
{/* Display sale price when on sale */}
121121
{onSale && (
122122
<div className="flex justify-center">
123-
<div className="pt-1 text-gray-900">
123+
<div className="pt-1 text-gray-900 text-xl">
124124
{variations && filteredVariantPrice(price, '')}
125125
{!variations && salePrice}
126126
</div>
127-
<div className="pt-1 ml-2 text-gray-900 line-through">
127+
<div className="pt-1 ml-2 text-gray-500 line-through text-lg">
128128
{variations && filteredVariantPrice(price, 'right')}
129129
{!variations && regularPrice}
130130
</div>
131131
</div>
132132
)}
133133
{/* Display regular price when not on sale */}
134134
{!onSale && (
135-
<p className="pt-1 text-center text-gray-900">{price}</p>
135+
<p className="pt-1 text-center text-gray-900 text-xl">{price}</p>
136136
)}
137137
</div>
138138
);

src/components/Product/SingleProduct.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const SingleProduct = ({ product }: IProductRootObject) => {
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-red-600">
88+
<p className="text-3xl font-bold text-gray-900">
8989
{product.variations && filteredVariantPrice(price, '')}
9090
{!product.variations && salePrice}
9191
</p>

0 commit comments

Comments
 (0)