Horde: Fix current step highlight in step history

#rnx
[FYI] patrick.finegan

[CL 30593124 by josh engebretson in ue5-main branch]
This commit is contained in:
josh engebretson
2024-01-12 10:22:50 -05:00
parent cbc9012a4c
commit ac3eb621e2
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ const StepHistoryModal: React.FC<{ jobDetails: JobDetails, stepId: string | unde
const commonSelectors = { ".ms-DetailsRow-cell": { "overflow": "visible", padding: 0 } };
if (ref.stepId === stepId && ref.jobId === jobDetails.id) {
props.styles = { ...props.styles, root: { background: hordeTheme.horde.neutralBackground, selectors: { ...commonSelectors as any } } };
props.styles = { ...props.styles, root: { background: `${hordeTheme.palette.neutralLight} !important`, selectors: { ...commonSelectors as any } } };
} else {
props.styles = { ...props.styles, root: { selectors: { ...commonSelectors as any } } };
}

View File

@@ -215,7 +215,7 @@ export const StepHistoryPanel: React.FC<{ jobDetails: JobDetailsV2; stepId: stri
const commonSelectors = { ".ms-DetailsRow-cell": { "overflow": "visible" } };
if (ref.stepId === stepId && ref.jobId === jobDetails.jobId) {
props.styles = { ...props.styles, root: { background: theme.palette.neutralLight, selectors: { ...commonSelectors as any } } };
props.styles = { ...props.styles, root: { background: `${theme.palette.neutralLight} !important`, selectors: { ...commonSelectors as any } } };
} else {
props.styles = { ...props.styles, root: { selectors: { ...commonSelectors as any } } };
}