mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 20:52:00 +08:00
[questions][ui] show newlines in question post (#484)
This commit is contained in:
@ -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 &&
|
||||||
|
Reference in New Issue
Block a user