Skip to content

Commit 64cbe52

Browse files
committed
fix(storefront): align category-page filter + product-count styling
1 parent e29e62d commit 64cbe52

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/evershop/src/components/frontStore/catalog/CategoryProducts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function CategoryProducts() {
2222
gridColumns={3}
2323
showAddToCart={true}
2424
/>
25-
<span className="product-count italic block mt-5">
25+
<span className="product-count mt-5 block text-sm text-muted-foreground">
2626
{_('${count} products', { count: products.total.toString() })}
2727
</span>
2828
</div>

packages/evershop/src/components/frontStore/catalog/DefaultFilterWrapperRender.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const DefaultFilterWrapperRender: React.FC<{
55
children: React.ReactNode;
66
}> = ({ title, children }) => (
77
<div className="filter__section">
8-
<div className="filter__title font-medium mb-3">{title}</div>
8+
<div className="filter__title text-sm font-semibold mb-3">{title}</div>
99
<div className="filter__content">{children}</div>
1010
</div>
1111
);

packages/evershop/src/components/frontStore/catalog/DefaultPriceFilterRender.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const DefaultPriceFilterRender: React.FC<{
7474

7575
return (
7676
<DefaultFilterWrapperRender title={_('Price')}>
77-
<div className="price__filter border-b border-border pb-2 mb-2">
77+
<div className="price__filter border-b border-border pb-8 mb-8">
7878
<div className="price__slider mb-4">
7979
<Slider
8080
min={priceRange.min}
@@ -84,7 +84,7 @@ export const DefaultPriceFilterRender: React.FC<{
8484
/>
8585
</div>
8686

87-
<div className="flex justify-between text-small text-muted-foreground mt-2">
87+
<div className="flex justify-between text-sm text-muted-foreground mt-2">
8888
<span>{priceRange.minText}</span>
8989
<span>{priceRange.maxText}</span>
9090
</div>

0 commit comments

Comments
 (0)