Merge pull request #3162 from continuedev/dallin/fix-error-page

Error page UI fix
This commit is contained in:
Nate Sesti 2024-12-03 13:11:33 -08:00 • committed by GitHub
commit ba9afb8541
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,12 @@ const ErrorPage: React.FC = () => {
}, 500);
}, []);
return (
<div className="bg- flex min-h-screen flex-col items-center justify-center px-8 py-4 text-center">
<div className="flex flex-col items-center justify-center px-2 py-4 text-center sm:px-8">
<h1 className="mb-4 text-3xl font-bold">Error in Continue UI</h1>
<pre className="pb-6">
<code className="px-3 py-2">{error.statusText || error.message}</code>
</pre>
<code className="whitespace-wrap mx-2 mb-4 max-w-full break-words py-2">
{error.statusText || error.message}
</code>
<Button
className="flex flex-row items-center gap-2"