From f399b32135cf36145242d9104b248dd2dcaaf667 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 6 Jun 2021 12:40:20 +0200 Subject: [PATCH] web: fix form for charts not matching the rest Signed-off-by: Jens Langhammer --- web/src/elements/charts/Chart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/elements/charts/Chart.ts b/web/src/elements/charts/Chart.ts index 946f5ddba..926748b99 100644 --- a/web/src/elements/charts/Chart.ts +++ b/web/src/elements/charts/Chart.ts @@ -95,7 +95,7 @@ export abstract class AKChart extends LitElement { const height = chart.height || 0; const fontSize = (height / 114).toFixed(2); - chart.ctx.font = fontSize + "em Overpass, overpass, helvetica, arial, sans-serif"; + chart.ctx.font = `${fontSize}em Overpass`; chart.ctx.textBaseline = "middle"; chart.ctx.fillStyle = this.fontColour;