[questions][ui] show newlines in question post (#484)

pull/485/head
Jeff Sieu 2 years ago committed by GitHub
parent 410053425c
commit 2c94691b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -216,7 +216,11 @@ export default function BaseQuestionCard({
/> />
)} )}
</div> </div>
<p className={clsx(truncateContent && 'line-clamp-2 text-ellipsis')}> <p
className={clsx(
'whitespace-pre-line',
truncateContent && 'line-clamp-2 text-ellipsis',
)}>
{content} {content}
</p> </p>
{!showReceivedForm && {!showReceivedForm &&

Loading…
Cancel
Save