From 62f95cddf50aa812a02b7399bc0faa7657e7fec5 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 19 Dec 2021 21:11:10 +0100 Subject: [PATCH] refactor: style heightmap tooltip Signed-off-by: Stefan Dej --- src/pages/Heightmap.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/Heightmap.vue b/src/pages/Heightmap.vue index ace8eb2a..4dbef5ca 100644 --- a/src/pages/Heightmap.vue +++ b/src/pages/Heightmap.vue @@ -244,6 +244,13 @@ export default class PageHeightmap extends Mixins(BaseMixin) { get chartOptions() { return { tooltip: { + backgroundColor: 'rgba(0,0,0,0.9)', + borderWidth: 0, + textStyle: { + color: '#fff', + fontSize: '14px' + }, + padding: 15, formatter: this.tooltipFormatter }, darkMode: true,