diff --git a/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx b/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx index 13b86e6a729..3f8e698cdd6 100644 --- a/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx +++ b/packages/@ourworldindata/grapher/src/lineLegend/LineLegend.tsx @@ -386,11 +386,12 @@ export class LineLegend extends React.Component { } @computed.struct get sizedLabels(): SizedSeries[] { - const { fontSize, fontWeight, maxWidth } = this + const { fontSize, maxWidth } = this const maxTextWidth = maxWidth - DEFAULT_CONNECTOR_LINE_WIDTH const maxAnnotationWidth = Math.min(maxTextWidth, 150) return this.props.labelSeries.map((label) => { + const fontWeight = label.focus?.active ? 700 : this.fontWeight const mainLabel = { text: label.label, fontWeight } const valueLabel = label.formattedValue ? {