[questions][ui] show newlines in question post

pull/484/head
Jeff Sieu 3 years ago
parent 6c53956551
commit fe109435fd

@ -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