From f021c8de888dc38d0c9f42eb59ae54cdc06c586e Mon Sep 17 00:00:00 2001 From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com> Date: Mon, 13 Oct 2025 09:12:35 +0000 Subject: [PATCH] Limit displayed new media outlets to a scrollable maximum of three items Implement max-height and overflow-y: auto to the div wrapping the new outlets list in MainContent.tsx for "People", "Topics", and "Companies" categories. Replit-Commit-Author: Agent Replit-Commit-Session-Id: aabe2db1-f078-4501-aab5-be145ebc6b9a Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/aabe2db1-f078-4501-aab5-be145ebc6b9a/ETDmxYB --- client/src/components/MainContent.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/client/src/components/MainContent.tsx b/client/src/components/MainContent.tsx index 4573700..1bc83e5 100644 --- a/client/src/components/MainContent.tsx +++ b/client/src/components/MainContent.tsx @@ -226,7 +226,9 @@ export default function MainContent() {

NEW

- {getSeparatedOutlets("People").newOutlets.map(renderOutletCard)} +
+ {getSeparatedOutlets("People").newOutlets.map(renderOutletCard)} +
{getSeparatedOutlets("People").regularOutlets.length > 0 && (
)} @@ -249,7 +251,9 @@ export default function MainContent() {

NEW

- {getSeparatedOutlets("Topics").newOutlets.map(renderOutletCard)} +
+ {getSeparatedOutlets("Topics").newOutlets.map(renderOutletCard)} +
{getSeparatedOutlets("Topics").regularOutlets.length > 0 && (
)} @@ -272,7 +276,9 @@ export default function MainContent() {

NEW

- {getSeparatedOutlets("Companies").newOutlets.map(renderOutletCard)} +
+ {getSeparatedOutlets("Companies").newOutlets.map(renderOutletCard)} +
{getSeparatedOutlets("Companies").regularOutlets.length > 0 && (
)}