web: fix form for charts not matching the rest
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -95,7 +95,7 @@ export abstract class AKChart<T> extends LitElement { | |||||||
|                     const height = chart.height || 0; |                     const height = chart.height || 0; | ||||||
|  |  | ||||||
|                     const fontSize = (height / 114).toFixed(2); |                     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.textBaseline = "middle"; | ||||||
|                     chart.ctx.fillStyle = this.fontColour; |                     chart.ctx.fillStyle = this.fontColour; | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer