We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f6ffbc commit a95480dCopy full SHA for a95480d
web/src/components/Table/index.js
@@ -51,14 +51,16 @@ const Table = () => {
51
Header: 'Companies',
52
accessor: 'companies',
53
Cell: cellInfo => {
54
- return cellInfo.row.original.companies.map(company => {
+ const companies = cellInfo.row.original.companies.map(company => {
55
const icon = images(`./${company}.png`);
56
return (
57
<span key={company} title={company}>
58
<img src={icon} alt={company} />
59
</span>
60
);
61
});
62
+
63
+ return <Row className="companies">{companies}</Row>;
64
},
65
disableSortBy: true,
66
web/src/components/Table/styles.scss
@@ -24,4 +24,9 @@
24
.hard {
25
background-color: #d9534f;
26
}
27
28
+ .companies {
29
+ justify-content: space-evenly;
30
+ margin: 0;
31
+ }
32
0 commit comments