UI: error messages wrap now

This commit is contained in:
Igor Katson 2023-12-16 18:43:41 +00:00
parent f49346c151
commit 3bd1a4511f
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -36,7 +36,7 @@ export const ErrorComponent = (props: {
{error.details?.statusText && (
<div className="pb-2 text-md">{error.details?.statusText}</div>
)}
<div className="whitespace-pre text-sm">{error.details?.text}</div>
<div className="whitespace-pre-wrap text-sm">{error.details?.text}</div>
</AlertDanger>
);
};