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:
2026-05-16 15:13:19 +02:00
parent fc17b8cb51
commit 3ed894015a
+2 -2
View File
@@ -84,7 +84,7 @@ export default function JobHistory({ ticker }: Props) {
<p className="text-gray-500">No recent jobs for {ticker}</p>
) : (
jobs.map((j: any) => (
<div key={j.id} className="p-3 border border-gray-200 rounded bg-gray-50">
<div key={j.id} className="p-3 border border-gray-200 rounded bg-gray-50 text-gray-900">
<div className="flex items-center justify-between">
<div className="text-sm">
<div className="font-medium">Job: <span className="text-blue-600">{j.id}</span></div>
@@ -105,7 +105,7 @@ export default function JobHistory({ ticker }: Props) {
</div>
{selected?.id === j.id && (
<pre className="mt-2 text-xs bg-white p-2 rounded overflow-x-auto">{JSON.stringify(selected, null, 2)}</pre>
<pre className="mt-2 text-xs bg-white p-2 rounded overflow-x-auto text-gray-800">{JSON.stringify(selected, null, 2)}</pre>
)}
</div>
))