fix(comments): show new line in content p
This commit is contained in:
parent
8430a55beb
commit
b03fa6e55d
@ -7,7 +7,7 @@ export const CommentContent = ({ content }: CommentContentProps) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<p className='IBMSMSMBSSCL_CBText'>{text} </p>
|
||||
<p className='IBMSMSMBSSCL_CBText'>{text}</p>
|
||||
{isTextOverflowing && (
|
||||
<div className='IBMSMSMBSSCL_CBExpand' onClick={toggle}>
|
||||
<p>{isExpanded ? 'Hide' : 'View'} full post</p>
|
||||
|
@ -59,6 +59,7 @@
|
||||
}
|
||||
|
||||
.IBMSMSMBSSCL_CBText {
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.IBMSMSMBSSCL_CBTextStatus {
|
||||
|
Loading…
x
Reference in New Issue
Block a user