Removed chart border on hover

refs https://github.com/TryGhost/Team/issues/1905
This commit is contained in:
Djordje Vlaisavljevic 2022-09-26 13:38:51 +02:00
parent 97af5c3731
commit acd1de3983

View File

@ -96,7 +96,9 @@ export default class SourceAttributionChart extends Component {
data: sortedByFree.slice(0, 5).map(source => source.signups),
backgroundColor: CHART_COLORS.slice(0, 5),
borderWidth: 2,
borderColor: '#fff'
borderColor: '#fff',
hoverBorderWidth: 2,
hoverBorderColor: '#fff'
}]
};
} else {
@ -111,7 +113,9 @@ export default class SourceAttributionChart extends Component {
data: sortedByPaid.slice(0, 5).map(source => source.paidConversions),
backgroundColor: CHART_COLORS.slice(0, 5),
borderWidth: 2,
borderColor: '#fff'
borderColor: '#fff',
hoverBorderWidth: 2,
hoverBorderColor: '#fff'
}]
};
}