Skip to content

Commit

Permalink
chore(fe): wrap the line of the hint automatically (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunnbi authored Oct 8, 2024
1 parent 41c23dc commit 886fbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/components/EditorDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export function EditorDescription({
<AccordionContent>
<pre
dangerouslySetInnerHTML={{ __html: sanitize(problem.hint) }}
className="prose prose-invert max-w-full text-sm leading-relaxed text-slate-300"
className="prose prose-invert max-w-full whitespace-pre-wrap break-keep text-sm leading-relaxed text-slate-300"
/>
</AccordionContent>
</AccordionItem>
Expand Down

0 comments on commit 886fbc9

Please sign in to comment.