diff --git a/lib/features/home/presentation/widgets/top_professionals_section.dart b/lib/features/home/presentation/widgets/top_professionals_section.dart index 97fed2f..a0ada92 100644 --- a/lib/features/home/presentation/widgets/top_professionals_section.dart +++ b/lib/features/home/presentation/widgets/top_professionals_section.dart @@ -105,8 +105,9 @@ class _TopProfessionalsSectionState _buildEmptyState(_activeTab) else ...[ // Professional Cards - horizontal scroll + // Use screen-relative height so cards fit on all devices SizedBox( - height: 490, + height: MediaQuery.of(context).size.height * 0.58, child: ListView.builder( // Unique key per tab forces Flutter to rebuild (not reuse) // the list items, preventing stale images from the other tab.