From 022c7290b42b837818c5e5d8742188fb5a6ef733 Mon Sep 17 00:00:00 2001 From: "@jcarymuhammedow" Date: Fri, 6 Feb 2026 18:52:48 +0500 Subject: [PATCH] changed some styles --- components/ui/slider.tsx | 2 +- features/cart/components/CartItemCard.tsx | 4 +- .../category/components/CategoryFilters.tsx | 99 ++++++++++--------- .../components/CategoryFiltersSheet.tsx | 10 +- .../components/CollectionFilters.tsx | 74 ++++++++------ .../components/CollectionFiltersSheet.tsx | 4 +- features/home/components/Carousel.tsx | 17 +++- features/home/components/CategoryGrid.tsx | 63 +++++++----- features/home/components/ProductCard.tsx | 51 +++++----- features/home/components/ProductGrid.tsx | 8 +- .../components/ProductPageContent.tsx | 4 +- 11 files changed, 190 insertions(+), 146 deletions(-) diff --git a/components/ui/slider.tsx b/components/ui/slider.tsx index 09edafc..c02c190 100644 --- a/components/ui/slider.tsx +++ b/components/ui/slider.tsx @@ -45,7 +45,7 @@ function Slider({ diff --git a/features/cart/components/CartItemCard.tsx b/features/cart/components/CartItemCard.tsx index f0a2d85..ae31295 100644 --- a/features/cart/components/CartItemCard.tsx +++ b/features/cart/components/CartItemCard.tsx @@ -277,11 +277,11 @@ export default function CartItemCard({ item, onUpdate }: CartItemCardProps) { return ( <> - +
{/* Product Image & Info */}
-
+
{item.product.name} +
{filtersData?.categories && filtersData.categories.length > 0 && ( {filtersData.categories.map((category) => ( @@ -77,27 +78,6 @@ export default function CategoryFilters({ )} - {/* - onPriceSortChange("none")} - label={translations.default} - /> - onPriceSortChange("lowToHigh")} - label={translations.price_low_to_high} - /> - onPriceSortChange("highToLow")} - label={translations.price_high_to_low} - /> - */} - -
@@ -123,9 +108,9 @@ function FilterSection({ children: React.ReactNode; }) { return ( -
-

{title}

-
{children}
+
+

{title}

+
{children}
); } @@ -140,9 +125,15 @@ function CheckboxItem({ label: string; }) { return ( -