Skip to content

Commit 47b6cd1

Browse files
committed
make capacity dasboard scrollable
1 parent 9894eff commit 47b6cd1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ui/src/views/dashboard/CapacityDashboard.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
</chart-card>
211211
</a-col>
212212
<a-col :xs="{ span: 24 }" :lg="{ span: 12 }" :xl="{ span: 8 }" :xxl="{ span: 8 }">
213-
<chart-card :loading="capacityLoading" class="dashboard-card">
213+
<chart-card :loading="capacityLoading" class="dashboard-storage">
214214
<template #title>
215215
<div class="center">
216216
<h3><hdd-outlined /> {{ $t('label.storage') }}</h3>
@@ -671,6 +671,13 @@ export default {
671671
min-height: 370px;
672672
}
673673
674+
.dashboard-storage {
675+
width: 100%;
676+
overflow-x:hidden;
677+
overflow-y: scroll;
678+
max-height: 370px;
679+
}
680+
674681
.dashboard-event {
675682
width: 100%;
676683
overflow-x:hidden;

0 commit comments

Comments
 (0)