From b0755a0cdef045f0b07f981cb3b7d5a7fc308c56 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 27 Dec 2022 13:32:24 -0800 Subject: [PATCH] IO-2133 Manual Line Highlighting --- client/src/App/App.styles.scss | 7 ++++++- .../components/job-detail-lines/job-lines.component.jsx | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/App/App.styles.scss b/client/src/App/App.styles.scss index e8389290f..bb4824cd0 100644 --- a/client/src/App/App.styles.scss +++ b/client/src/App/App.styles.scss @@ -147,4 +147,9 @@ //Update row highlighting on production board. .ant-table-tbody > tr.ant-table-row:hover > td { background: #eaeaea !important; -} \ No newline at end of file +} + +.job-line-manual{ + color: tomato; + font-style: italic; +} diff --git a/client/src/components/job-detail-lines/job-lines.component.jsx b/client/src/components/job-detail-lines/job-lines.component.jsx index 5c0cad744..5097f668c 100644 --- a/client/src/components/job-detail-lines/job-lines.component.jsx +++ b/client/src/components/job-detail-lines/job-lines.component.jsx @@ -103,6 +103,7 @@ export function JobLinesComponent({ fixed: "left", key: "line_desc", sorter: (a, b) => alphaSort(a.line_desc, b.line_desc), + onCell: (record) => ({ className: record.manual_line && "job-line-manual" }), sortOrder: state.sortedInfo.columnKey === "line_desc" && state.sortedInfo.order, ellipsis: true,