mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-02-03 18:45:04 +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