Fix adv.comments issues #209

Merged
enes merged 7 commits from fixes/adv-comments-30-1-25 into staging 2025-01-30 13:43:13 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit b03fa6e55d - Show all commits

View File

@ -7,7 +7,7 @@ export const CommentContent = ({ content }: CommentContentProps) => {
return ( return (
<> <>
<p className='IBMSMSMBSSCL_CBText'>{text} </p> <p className='IBMSMSMBSSCL_CBText'>{text}</p>
{isTextOverflowing && ( {isTextOverflowing && (
<div className='IBMSMSMBSSCL_CBExpand' onClick={toggle}> <div className='IBMSMSMBSSCL_CBExpand' onClick={toggle}>
<p>{isExpanded ? 'Hide' : 'View'} full post</p> <p>{isExpanded ? 'Hide' : 'View'} full post</p>

View File

@ -59,6 +59,7 @@
} }
.IBMSMSMBSSCL_CBText { .IBMSMSMBSSCL_CBText {
white-space: pre-line;
} }
.IBMSMSMBSSCL_CBTextStatus { .IBMSMSMBSSCL_CBTextStatus {