Commit 0fd653d8 authored by Jakub Beránek's avatar Jakub Beránek
Browse files

FIX: add tbody tag to tooltip table

parent 96ae8f96
......@@ -76,10 +76,12 @@ export class Tooltip extends PureComponent<TooltipProps & Props>
<DatasetLabel color={dataset.fill}>{name}</DatasetLabel>
{!single &&
<DatasetInfo>
<tr><td>Average</td><td>{dataset.value.toFixed(2)}</td></tr>
<tr><td>Std. dev.</td><td>{dataset.deviation.value.toFixed(2)}</td></tr>
<tr><td>Measurements</td><td>{dataset.measurements.length}</td></tr>
<tr><td>Timestamp</td><td>{this.generateTimestamp(dataset.measurements)}</td></tr>
<tbody>
<tr><td>Average</td><td>{dataset.value.toFixed(2)}</td></tr>
<tr><td>Std. dev.</td><td>{dataset.deviation.value.toFixed(2)}</td></tr>
<tr><td>Measurements</td><td>{dataset.measurements.length}</td></tr>
<tr><td>Timestamp</td><td>{this.generateTimestamp(dataset.measurements)}</td></tr>
</tbody>
</DatasetInfo>
}
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment