From be78c3b21a9172c71246dcbf621286a7e02e05e6 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Tue, 3 Feb 2026 13:13:15 +0700 Subject: fix input compare product --- .../components/ProductComparisonModal.tsx | 83 ++++++++++++++-------- 1 file changed, 53 insertions(+), 30 deletions(-) (limited to 'src-migrate/modules/product-detail/components') diff --git a/src-migrate/modules/product-detail/components/ProductComparisonModal.tsx b/src-migrate/modules/product-detail/components/ProductComparisonModal.tsx index 260b6713..b5676ac8 100644 --- a/src-migrate/modules/product-detail/components/ProductComparisonModal.tsx +++ b/src-migrate/modules/product-detail/components/ProductComparisonModal.tsx @@ -523,7 +523,8 @@ const ProductComparisonModal = ({ isOpen, onClose, mainProduct, selectedVariant { setActiveSearchSlot(index); setSearchQuery(''); }} onChange={(e) => setSearchQuery(e.target.value)} @@ -780,30 +782,42 @@ const ProductComparisonModal = ({ isOpen, onClose, mainProduct, selectedVariant ) : ( Date: Wed, 11 Feb 2026 14:12:00 +0700 Subject: fix layout spec --- .../product-detail/components/Information.tsx | 2 +- .../components/ProductComparisonModal.tsx | 29 ++++++++++++++++++---- 2 files changed, 25 insertions(+), 6 deletions(-) (limited to 'src-migrate/modules/product-detail/components') diff --git a/src-migrate/modules/product-detail/components/Information.tsx b/src-migrate/modules/product-detail/components/Information.tsx index ce848267..b0feb61a 100644 --- a/src-migrate/modules/product-detail/components/Information.tsx +++ b/src-migrate/modules/product-detail/components/Information.tsx @@ -267,7 +267,7 @@ const Information = ({ product }: Props) => { > {product?.manufacture.logo ? ( handleInputChange(index, e.target.value)} @@ -640,8 +642,25 @@ const ProductComparisonModal = ({ isOpen, onClose, mainProduct, selectedVariant { setActiveSearchSlot(index); setSearchQuery(''); }} onChange={(e) => setSearchQuery(e.target.value)} -- cgit v1.2.3