Skip to content

Commit 336c307

Browse files
committed
Merge branch 'master' into 1112-design-categories-1920-x-1080
2 parents 06632c0 + 24ff561 commit 336c307

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Category/Categories.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface ICategoriesProps {
77

88
const Categories = ({ categories }: ICategoriesProps) => (
99
<section className="container mx-auto bg-white">
10-
<div className="grid gap-2 px-2 pt-2 pb-2 lg:px-0 xl:px-0 md:px-0 lg:grid-cols-4 sm:grid-cols-2 md:grid-cols-3 xs:grid-cols-3">
10+
<div className="grid gap-2 px-2 pt-2 pb-2 lg:px-0 xl:px-0 md:px-0 lg:grid-cols-3 sm:grid-cols-1 md:grid-cols-3 xs:grid-cols-3">
1111
{categories.map(({ id, name, slug }) => (
1212
<Link
1313
key={uuidv4()}

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-500 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
);

0 commit comments

Comments
 (0)