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:
@@ -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>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user