diff --git a/assets/css/global.css b/assets/css/global.css index 708e8e1..f25419a 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -38,14 +38,7 @@ body { background-color: var(--surface-100); box-sizing: border-box; - height: 100vh; + min-height: 100vh; margin: 0; - padding: 8px; -} - -#__nuxt { - height: 100%; - display: flex; - flex-direction: column; } \ No newline at end of file diff --git a/components/Charts.vue b/components/Charts.vue index 4ae3162..7baee74 100644 --- a/components/Charts.vue +++ b/components/Charts.vue @@ -25,7 +25,12 @@ let downloadData = computed(() => { const chartData = computed(() => { return { labels: downloadData.value.labels, - datasets: downloadData.value.data + datasets: downloadData.value.data.map((value) => { + return { + ...value, + borderRadius: 3 + } + }) } }) @@ -56,18 +61,21 @@ const chartOptions = ref({ plugins: { legend: { labels: { - color: "#8a8a8c" + color: "#8a8a8c", + useBorderRadius: true } } - } + }, }) diff --git a/pages/index.vue b/pages/index.vue index 1f391b7..37aaeb9 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -10,26 +10,122 @@ const {data} = useModrinthFetch("/statistics"); \ No newline at end of file