diff --git a/packages/client/src/components/file-list-for-admin.vue b/packages/client/src/components/file-list-for-admin.vue index 59256f90c9..489c017a93 100644 --- a/packages/client/src/components/file-list-for-admin.vue +++ b/packages/client/src/components/file-list-for-admin.vue @@ -87,7 +87,7 @@ const props = defineProps<{ &.grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); grid-gap: 12px; margin: var(--margin) 0; diff --git a/packages/client/src/pages/admin/overview.queue-chart.vue b/packages/client/src/pages/admin/overview.queue-chart.vue index 9f23a14b5d..e9ad186141 100644 --- a/packages/client/src/pages/admin/overview.queue-chart.vue +++ b/packages/client/src/pages/admin/overview.queue-chart.vue @@ -73,7 +73,7 @@ const onStats = (stats) => { chartInstance.data.datasets[1].data.push(stats[props.domain].active); chartInstance.data.datasets[2].data.push(stats[props.domain].waiting); chartInstance.data.datasets[3].data.push(stats[props.domain].delayed); - if (chartInstance.data.datasets[0].data.length > 200) { + if (chartInstance.data.datasets[0].data.length > 100) { chartInstance.data.labels.shift(); chartInstance.data.datasets[0].data.shift(); chartInstance.data.datasets[1].data.shift(); @@ -90,7 +90,7 @@ const onStatsLog = (statsLog) => { chartInstance.data.datasets[1].data.push(stats[props.domain].active); chartInstance.data.datasets[2].data.push(stats[props.domain].waiting); chartInstance.data.datasets[3].data.push(stats[props.domain].delayed); - if (chartInstance.data.datasets[0].data.length > 200) { + if (chartInstance.data.datasets[0].data.length > 100) { chartInstance.data.labels.shift(); chartInstance.data.datasets[0].data.shift(); chartInstance.data.datasets[1].data.shift(); @@ -146,7 +146,7 @@ onMounted(() => { }], }, options: { - aspectRatio: 3, + aspectRatio: 2.5, layout: { padding: { left: 0, @@ -157,6 +157,7 @@ onMounted(() => { }, scales: { x: { + display: false, grid: { display: false, }, @@ -166,6 +167,7 @@ onMounted(() => { }, }, y: { + display: false, min: 0, grid: { display: false, diff --git a/packages/client/src/pages/admin/overview.vue b/packages/client/src/pages/admin/overview.vue index 8e57c7aafb..382169f723 100644 --- a/packages/client/src/pages/admin/overview.vue +++ b/packages/client/src/pages/admin/overview.vue @@ -24,13 +24,15 @@