tweak retention heatmap

This commit is contained in:
syuilo 2023-01-06 20:01:32 +09:00
parent e36e5df635
commit 3551ac328e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ async function renderChart() {
const wide = rootEl.offsetWidth > 600; const wide = rootEl.offsetWidth > 600;
const narrow = rootEl.offsetWidth < 400; 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', { }); const raw = await os.api('retention', { });