From 3929f7c6f99857f991c02ff6a19ddd3f25a0d6b4 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sun, 30 Jun 2024 10:46:30 +0200 Subject: [PATCH] ui fix --- src/lib/components/Enterprise.svelte | 2 +- src/lib/components/ShareStatistics.svelte | 2 +- src/routes/pricing/+page.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/Enterprise.svelte b/src/lib/components/Enterprise.svelte index e164b959..81283479 100644 --- a/src/lib/components/Enterprise.svelte +++ b/src/lib/components/Enterprise.svelte @@ -89,7 +89,7 @@ function getPlotOptions() { axisLabel: { color: '#6E7079', // Change label color to white formatter: function (value) { - value = Math.max(value, 0); + //value = Math.max(value, 0); return '$'+(value / denominator)?.toFixed(1) + unit; // Format value in millions }, }, diff --git a/src/lib/components/ShareStatistics.svelte b/src/lib/components/ShareStatistics.svelte index e99b3fdd..1c16e34f 100644 --- a/src/lib/components/ShareStatistics.svelte +++ b/src/lib/components/ShareStatistics.svelte @@ -84,7 +84,7 @@ function getPlotOptions() { color: '#6E7079', // Change label color to white formatter: function (value) { value = Math.max(value, 0); - return '$'+(value / denominator)?.toFixed(1) + unit; // Format value in millions + return (value / denominator)?.toFixed(1) + unit; // Format value in millions }, }, }, diff --git a/src/routes/pricing/+page.svelte b/src/routes/pricing/+page.svelte index 45e45e65..18d4ff0e 100644 --- a/src/routes/pricing/+page.svelte +++ b/src/routes/pricing/+page.svelte @@ -9,7 +9,7 @@ import { onMount } from 'svelte'; export let data; let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; -let mode = false; +let mode = true; const emailAddress = 'support@stocknear.com'; function toggleMode()