From 3e4ab1cc645f9abea4d0c2226e2cd80783e583c9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 4 Apr 2022 10:56:06 +0100 Subject: [PATCH] Fix color and size of chart tooltips --- .../client/src/components/app/charts/ApexChart.svelte | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/client/src/components/app/charts/ApexChart.svelte b/packages/client/src/components/app/charts/ApexChart.svelte index 0cf9c9ff75..329fb1ce75 100644 --- a/packages/client/src/components/app/charts/ApexChart.svelte +++ b/packages/client/src/components/app/charts/ApexChart.svelte @@ -45,4 +45,12 @@ background-color: var(--spectrum-global-color-gray-100) !important; border-color: var(--spectrum-global-color-gray-300) !important; } + div :global(.apexcharts-theme-dark .apexcharts-tooltip-text) { + color: white; + } + div + :global(.apexcharts-theme-dark + .apexcharts-tooltip-series-group.apexcharts-active) { + padding-bottom: 0; + }