diff --git a/src/components/profiles/ProfileDetailViewV2.tsx b/src/components/profiles/ProfileDetailViewV2.tsx index 05bd6e5a..19e5b76b 100644 --- a/src/components/profiles/ProfileDetailViewV2.tsx +++ b/src/components/profiles/ProfileDetailViewV2.tsx @@ -552,7 +552,7 @@ export function ProfileDetailViewV2({ {/* Content Area */} -
+
{activeMainTab === "content" && (
{/* Content Display Area */} diff --git a/src/components/ui/GenericContentTab.tsx b/src/components/ui/GenericContentTab.tsx index f594bcbf..fdf987d3 100644 --- a/src/components/ui/GenericContentTab.tsx +++ b/src/components/ui/GenericContentTab.tsx @@ -67,7 +67,7 @@ export function GenericContentTab({ const effectiveLoadingItemCount = showSkeletons ? loadingItemCount : 0; return ( -
+
{/* Header with search, actions etc. */}
diff --git a/src/components/ui/GenericList.tsx b/src/components/ui/GenericList.tsx index dfad38e2..875e09d7 100644 --- a/src/components/ui/GenericList.tsx +++ b/src/components/ui/GenericList.tsx @@ -152,18 +152,13 @@ export function GenericList({ return null; // Return nothing for empty state without background } if (!isEmpty) { - // Always use virtualization for better performance and consistent behavior - // Calculate height based on item count - min 400px, max 600px - const calculatedHeight = Math.min(Math.max(items.length * 60, 400), 600); - return (
renderItem(items[index], index)} - style={{ height: `${calculatedHeight}px` }} />
);