Show only half the labels on small screens

This commit is contained in:
Gunnar Skjold 2023-04-21 18:55:15 +02:00
parent 5d278a9d5a
commit 39e86fa180
3 changed files with 12 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,9 @@
<g class="axis x-axis">
{#each config.x.ticks as point, i}
<g class="tick" transform="translate({xScale(i)},{heightAvailable})">
{#if barWidth > 20 || i%2 == 0}
<text x="{barWidth/2}" y="-4">{point.label}</text>
{/if}
</g>
{/each}
</g>

View File

@ -51,7 +51,7 @@
s.upgrading = true;
return s;
});
upgrade(nextVersion);
upgrade(nextVersion.tag_name);
}
}
}