Skip to content

Commit

Permalink
chore(fe): add pre wrap for labeled field
Browse files Browse the repository at this point in the history
  • Loading branch information
B0XERCAT committed Oct 5, 2024
1 parent 8b80d5a commit 17009ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/components/TestcasePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function LabeledField({ label, text }: { label: string; text: string }) {
<p className="text-slate-400">{label}</p>
<hr className="border-[#303333]/50" />
<pre
className="prose prose-invert max-w-full text-sm leading-relaxed text-slate-300"
className="prose prose-invert overflow-auto whitespace-pre-wrap break-words text-sm leading-relaxed text-slate-300"
dangerouslySetInnerHTML={{
__html: sanitize(text)
}}
Expand Down

0 comments on commit 17009ed

Please sign in to comment.