Force-wrap long strings in the run error callout (#2340)

This commit is contained in:
James Ritchie
2025-08-04 13:19:57 +01:00
committed by GitHub
parent 0fc234b970
commit 792c97339e
@@ -855,7 +855,7 @@ function RunError({ error }: { error: TaskRunError }) {
<Header3 className="text-rose-500">{name}</Header3>
{enhancedError.message && (
<Callout variant="error">
<pre className="text-wrap font-sans text-sm font-normal text-rose-200">
<pre className="text-wrap font-sans text-sm font-normal text-rose-200 [word-break:break-word]">
{enhancedError.message}
</pre>
</Callout>