diff --git a/src/data-table/data-cell.jsx b/src/data-table/data-cell.jsx index cae3f2f..c4af9b2 100644 --- a/src/data-table/data-cell.jsx +++ b/src/data-table/data-cell.jsx @@ -98,7 +98,7 @@ class DataCell extends React.PureComponent { const { semaphoreColors, semaphoreColors: { fieldsToApplyTo } } = styling; const isValidSemaphoreValue = !styleBuilder.hasComments() && !isNaN(measurement.value); - const shouldHaveSemaphoreColors = fieldsToApplyTo.applyToMetric && (fieldsToApplyTo.applyToAll || fieldsToApplyTo.specificFields.indexOf(measurement.name) !== -1); + const shouldHaveSemaphoreColors = (fieldsToApplyTo.applyToMetric || fieldsToApplyTo.specificFields.indexOf(measurement.parents.dimension1.header) !== -1); let cellStyle; if (isValidSemaphoreValue && shouldHaveSemaphoreColors) { const { backgroundColor, color } = getSemaphoreColors(measurement, semaphoreColors); diff --git a/src/main.less b/src/main.less index 4aff974..8d47fac 100644 --- a/src/main.less +++ b/src/main.less @@ -204,13 +204,6 @@ width: 350px; } - /* popups for headers */ - .header-wrapper { - position: absolute; - top: 0; - z-index: 1; - } - .tooltip { position: fixed !important; color: rgb(70, 70, 70); @@ -219,12 +212,6 @@ border: groove; } - .row-wrapper { - height: calc(~"100% - 97px"); - padding: 0; - margin-top: 0; - } - .kpi-table .fdim-cells, .data-table td { line-height: 1em !important;