Skip to content

Commit

Permalink
CampaignNewsList.tsx: Set max-width of 1200px to container
Browse files Browse the repository at this point in the history
Remove the max-width of Typography as it is redundant now..

Co-authored-by: zahariev <[email protected]>
  • Loading branch information
sashko9807 and zahariev committed Sep 27, 2023
1 parent 363a42f commit b1c2789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/client/campaign-news/CampaignNewsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export default function CampaignNewsList({ articles }: Props) {
? INITIAL_HEIGHT_LIMIT
: 'auto',
overflow: 'hidden',
maxWidth: 1200,
}}>
<Grid container item direction={'column'} gap={1}>
<Typography className={classes.articleHeader}>{article.title}</Typography>
Expand All @@ -137,7 +138,7 @@ export default function CampaignNewsList({ articles }: Props) {
dangerouslySetInnerHTML={{
__html: sanitizedDescription,
}}
sx={{ wordBreak: 'break-word', maxWidth: 1200 }}
sx={{ wordBreak: 'break-word' }}
/>
</QuillStypeWrapper>
<Grid container item direction={'column'} gap={0.5}>
Expand Down

0 comments on commit b1c2789

Please sign in to comment.