diff --git a/frontend/src/components/TableRow.js b/frontend/src/components/TableRow.js index 2c90ec7..8c89a83 100644 --- a/frontend/src/components/TableRow.js +++ b/frontend/src/components/TableRow.js @@ -6,6 +6,8 @@ import { checkWebWorker, checkScreenProperties, } from './main'; +import { ReactComponent as XCircle } from '../images/xCircle.svg'; +import { ReactComponent as CheckCircle } from '../images/checkCircle.svg'; const TableRow = ({ item }) => { const [workerData, setWorkerData] = useState(''); @@ -30,18 +32,19 @@ const TableRow = ({ item }) => { {item.value} {issues ? ( - <> - {item.issues.map((ele, index) => ( -
- {ele} -
- ))} -
- {workerData && <>{`Did not match web worker (${workerData})`}} -
- + ) : ( - 'No issues' + // <> + // {item.issues.map((ele, index) => ( + //
+ // {ele} + //
+ // ))} + //
+ // {workerData && <>{`Did not match web worker (${workerData})`}} + //
+ // + )} diff --git a/frontend/src/images/checkCircle.svg b/frontend/src/images/checkCircle.svg new file mode 100644 index 0000000..b958876 --- /dev/null +++ b/frontend/src/images/checkCircle.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/images/xCircle.svg b/frontend/src/images/xCircle.svg new file mode 100644 index 0000000..98a6d05 --- /dev/null +++ b/frontend/src/images/xCircle.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/styles/App.css b/frontend/src/styles/App.css index d153256..36345ad 100644 --- a/frontend/src/styles/App.css +++ b/frontend/src/styles/App.css @@ -44,7 +44,7 @@ } .centerBlockInner { - width: 800px; + width: 650px; margin: 24px 0 0 0; } @@ -144,12 +144,8 @@ tbody:not(:last-child) { border-bottom: 1px solid var(--border); } -tr:hover { - color: var(--main); -} - td { - vertical-align: top; + /* vertical-align: top; */ padding: 12px; } @@ -159,6 +155,17 @@ td:first-child { word-break: normal; } +td:nth-child(3) { + width: 40px; + font-weight: 600; + word-break: normal; +} + +.circleButton { + display: flex; + width: 20px; +} + p { margin: 12px 0 0 0; }