From 660538ccd949087d328e8e1c72501a25356e98e6 Mon Sep 17 00:00:00 2001 From: Rohan-cp Date: Fri, 20 Oct 2023 15:14:23 +0530 Subject: [PATCH] base --- apps/web/src/components/Feed/Socialize/CommentLine.tsx | 4 +--- .../components/Feed/Socialize/CommentsModal/CommentNote.tsx | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/web/src/components/Feed/Socialize/CommentLine.tsx b/apps/web/src/components/Feed/Socialize/CommentLine.tsx index 2c138cad91..5384728d22 100644 --- a/apps/web/src/components/Feed/Socialize/CommentLine.tsx +++ b/apps/web/src/components/Feed/Socialize/CommentLine.tsx @@ -51,7 +51,7 @@ export function CommentLine({ commentRef }: CommentLineProps) { const nonNullMentions = useMemo(() => removeNullValues(comment.mentions), [comment.mentions]); return ( - + {comment.commenter && ( @@ -95,8 +95,6 @@ const CommenterName = styled.span` `; const CommentText = styled.div` - word-wrap: break-word; - word-break: break-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; diff --git a/apps/web/src/components/Feed/Socialize/CommentsModal/CommentNote.tsx b/apps/web/src/components/Feed/Socialize/CommentsModal/CommentNote.tsx index 35f3f95bb5..b2eccb2b5b 100644 --- a/apps/web/src/components/Feed/Socialize/CommentsModal/CommentNote.tsx +++ b/apps/web/src/components/Feed/Socialize/CommentsModal/CommentNote.tsx @@ -83,8 +83,6 @@ const StyledListItem = styled(ListItem)` `; const StyledBaseM = styled(BaseM)` - word-wrap: break-word; - word-break: break-all; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;