UI: ensure dark text on job detail and job history cards (avoid white-on-light backgrounds)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,7 @@ export default function JobDetail() {
|
||||
<Navbar />
|
||||
<div className="mx-auto max-w-4xl px-6 py-8">
|
||||
<h1 className="text-2xl font-bold text-gray-900 mb-4">Job {job?.id}</h1>
|
||||
<div className="bg-white rounded-xl shadow-lg p-6 border border-gray-200">
|
||||
<div className="bg-white rounded-xl shadow-lg p-6 border border-gray-200 text-gray-900">
|
||||
<div className="mb-3 text-sm text-gray-700">State: <strong className="ml-2">{job?.state}</strong></div>
|
||||
{job?.failedReason && (
|
||||
<div className="mb-3 text-red-600">Failed: {job.failedReason}</div>
|
||||
@@ -85,7 +85,7 @@ export default function JobDetail() {
|
||||
</div>
|
||||
|
||||
<div className="text-sm text-gray-700 mb-3">Data:</div>
|
||||
<pre className="bg-gray-50 p-3 rounded text-xs overflow-x-auto">{JSON.stringify(job?.data || job?.returnValue || job, null, 2)}</pre>
|
||||
<pre className="bg-gray-50 p-3 rounded text-xs overflow-x-auto text-gray-800">{JSON.stringify(job?.data || job?.returnValue || job, null, 2)}</pre>
|
||||
|
||||
<div className="mt-4">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user