mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-15 02:33:50 +08:00
[questions][ui] show newlines in question post (#484)
This commit is contained in:
@ -216,7 +216,11 @@ export default function BaseQuestionCard({
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<p className={clsx(truncateContent && 'line-clamp-2 text-ellipsis')}>
|
||||
<p
|
||||
className={clsx(
|
||||
'whitespace-pre-line',
|
||||
truncateContent && 'line-clamp-2 text-ellipsis',
|
||||
)}>
|
||||
{content}
|
||||
</p>
|
||||
{!showReceivedForm &&
|
||||
|
Reference in New Issue
Block a user