From f4332d69d5aa701ed61a68816523c78cc5c28859 Mon Sep 17 00:00:00 2001 From: Henry Dollman Date: Tue, 6 Aug 2024 18:50:12 -0400 Subject: [PATCH] adjust y axis width --- hub/site/src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/site/src/lib/utils.ts b/hub/site/src/lib/utils.ts index f7b87dd..11ca121 100644 --- a/hub/site/src/lib/utils.ts +++ b/hub/site/src/lib/utils.ts @@ -192,7 +192,7 @@ export function useYaxisWidth(chartRef: React.RefObject) { if (yAxisElement) { // console.log('yAxisElement', yAxisElement) clearInterval(interval) - setYAxisWidth(yAxisElement.getBoundingClientRect().width + 22) + setYAxisWidth(yAxisElement.getBoundingClientRect().width + 24) } }, 16) return () => clearInterval(interval)