Merge pull request #5501 from uinstinct/error-layout

fix word break on error section
This commit is contained in:
Tomasz Stefaniak 2025-05-06 15:15:39 -07:00 • committed by GitHub
commit 906d5bc0a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ export function ErrorSection() {
) : (
<ExclamationTriangleIcon className="mr-2 mt-1 h-3.5 w-3.5" />
)}
<p className="m-0 whitespace-pre-wrap text-xs">{error.message}</p>
<p className="m-0 whitespace-pre-wrap text-wrap" style={{wordBreak: 'break-word'}}>{error.message}</p>
</li>
))}
</ul>