From 3551ac328eed8928c788301a1056592a7f033800 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2023 20:01:32 +0900 Subject: [PATCH] tweak retention heatmap --- packages/frontend/src/components/MkRetentionHeatmap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkRetentionHeatmap.vue b/packages/frontend/src/components/MkRetentionHeatmap.vue index b5b1d5f10..b7886d1dc 100644 --- a/packages/frontend/src/components/MkRetentionHeatmap.vue +++ b/packages/frontend/src/components/MkRetentionHeatmap.vue @@ -39,7 +39,7 @@ async function renderChart() { const wide = rootEl.offsetWidth > 600; const narrow = rootEl.offsetWidth < 400; - const maxDays = wide ? 20 : narrow ? 7 : 14; + const maxDays = wide ? 15 : narrow ? 5 : 10; const raw = await os.api('retention', { });