From b1c2789dbe38ab9f7485b0260ea57bba7bb07291 Mon Sep 17 00:00:00 2001 From: Alexander Petkov Date: Thu, 28 Sep 2023 00:07:50 +0300 Subject: [PATCH] CampaignNewsList.tsx: Set max-width of 1200px to container Remove the max-width of Typography as it is redundant now.. Co-authored-by: zahariev --- src/components/client/campaign-news/CampaignNewsList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/client/campaign-news/CampaignNewsList.tsx b/src/components/client/campaign-news/CampaignNewsList.tsx index 267b9f996..89eee2989 100644 --- a/src/components/client/campaign-news/CampaignNewsList.tsx +++ b/src/components/client/campaign-news/CampaignNewsList.tsx @@ -127,6 +127,7 @@ export default function CampaignNewsList({ articles }: Props) { ? INITIAL_HEIGHT_LIMIT : 'auto', overflow: 'hidden', + maxWidth: 1200, }}> {article.title} @@ -137,7 +138,7 @@ export default function CampaignNewsList({ articles }: Props) { dangerouslySetInnerHTML={{ __html: sanitizedDescription, }} - sx={{ wordBreak: 'break-word', maxWidth: 1200 }} + sx={{ wordBreak: 'break-word' }} />