mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 02:23:09 +02:00
tweak retention heatmap
This commit is contained in:
parent
e36e5df635
commit
3551ac328e
1 changed files with 1 additions and 1 deletions
|
@ -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', { });
|
||||
|
||||
|
|
Loading…
Reference in a new issue