15230: Link to other workbenches when double-clicking search results.
[arvados-workbench2.git] / src / views-components / data-explorer / renderers.tsx
index bf504f2b46b82e4efa475c1359cdf1a7c2c55f9e..cc311248cb1d9b0d3f208831604faf75fddd774c 100644 (file)
@@ -239,12 +239,12 @@ export const ResourceCluster = (props: { uuid: string }) => {
     const clusterId = pos >= CLUSTER_ID_LENGTH ? props.uuid.substr(0, pos) : '';
     const ci = pos >= CLUSTER_ID_LENGTH ? (props.uuid.charCodeAt(0) + props.uuid.charCodeAt(1)) % clusterColors.length : 0;
     return <Typography>
-        <div style={{
+        <span style={{
             backgroundColor: clusterColors[ci][0],
             color: clusterColors[ci][1],
             padding: "2px 7px",
             borderRadius: 3
-        }}>{clusterId}</div>
+        }}>{clusterId}</span>
     </Typography>;
 };