From 54cb7d0fdda1a169b2c6d8944d63464ee3cbb21d Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Wed, 19 Nov 2025 16:16:30 +0700 Subject: [PATCH] detail --- .../pages/product_detail_page.dart | 31 +++++++++---------- .../product_detail/product_tabs_section.dart | 3 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/features/products/presentation/pages/product_detail_page.dart b/lib/features/products/presentation/pages/product_detail_page.dart index 3480080..0370bb6 100644 --- a/lib/features/products/presentation/pages/product_detail_page.dart +++ b/lib/features/products/presentation/pages/product_detail_page.dart @@ -213,28 +213,27 @@ class _ProductDetailPageState extends ConsumerState { ), body: productAsync.when( data: (product) { - return Stack( + return Column( children: [ // Scrollable content - SingleChildScrollView( - child: Column( - children: [ - // Image Gallery Section - ImageGallerySection(product: product), + Expanded( + child: SingleChildScrollView( + child: Column( + children: [ + // Image Gallery Section + ImageGallerySection(product: product), - const SizedBox(height: AppSpacing.md), + const SizedBox(height: AppSpacing.md), - // Product Information Section - ProductInfoSection(product: product), + // Product Information Section + ProductInfoSection(product: product), - const SizedBox(height: AppSpacing.md), + const SizedBox(height: AppSpacing.md), - // Product Tabs Section - ProductTabsSection(product: product), - - // Bottom padding for sticky action bar - const SizedBox(height: 88.0), - ], + // Product Tabs Section + ProductTabsSection(product: product), + ], + ), ), ), diff --git a/lib/features/products/presentation/widgets/product_detail/product_tabs_section.dart b/lib/features/products/presentation/widgets/product_detail/product_tabs_section.dart index 1a988d3..201b741 100644 --- a/lib/features/products/presentation/widgets/product_detail/product_tabs_section.dart +++ b/lib/features/products/presentation/widgets/product_detail/product_tabs_section.dart @@ -454,7 +454,8 @@ class _ReviewsTab extends ConsumerWidget { // Review Items ...reviews.map((review) => _ReviewItem(review: review)), - const SizedBox(height: 48), + const SizedBox(height: 24), + ], ); },