Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
fix: better mobile responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Sep 12, 2023
1 parent dfaf59d commit ff01283
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/sections/PullStats.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
const chartOptions = {
color: "#7C7DA5",
responsive: true,
maintainAspectRatio: false,
scales: {
x: {
ticks: {
Expand Down Expand Up @@ -102,20 +103,20 @@
</script>

<div id="stats" class="h-full w-full p-8 flex flex-col gap-8">
<figure>
<figure class="h-[48rem]">
<figcaption>All images</figcaption>
<canvas id="everything" class="min-h-[48rem]" />
<canvas id="everything"/>
</figure>
<figure>
<figure class="h-[48rem]">
<figcaption>Total pulls</figcaption>
<canvas id="total" class="min-h-[48rem]" />
<canvas id="total"/>
</figure>
<figure>
<figure class="h-[48rem]">
<figcaption>Main & Nvidia</figcaption>
<canvas id="main" class="min-h-[48rem]" />
<canvas id="main"/>
</figure>
<figure>
<figure class="h-[48rem]">
<figcaption>Bluefin vs Bazzite vs Beyond</figcaption>
<canvas id="bbb" class="min-h-[48rem]" />
<canvas id="bbb"/>
</figure>
</div>

0 comments on commit ff01283

Please sign in to comment.