diff --git a/src/components/map/layer-hover-info.tsx b/src/components/map/layer-hover-info.tsx index 52107670d3..e2e8cbb9c3 100644 --- a/src/components/map/layer-hover-info.tsx +++ b/src/components/map/layer-hover-info.tsx @@ -43,9 +43,10 @@ export const StyledLayerName = styled(CenterFlexbox)` const StyledTable = styled.table` & .row__delta-value { text-align: right; + margin-left: 6px; &.positive { - color: ${props => props.theme.primaryBtnBgd}; + color: ${props => props.theme.notificationColors.success}; } &.negative { @@ -80,18 +81,20 @@ const Row: React.FC = ({name, value, deltaValue, url}) => { {value} ) : ( - value + <> + {value} + {notNullorUndefined(deltaValue) ? ( + + {deltaValue} + + ) : null} + )} - {notNullorUndefined(deltaValue) && ( - - {deltaValue} - - )} ); };