feat: improve readability for vm migration UI (#1112)

Signed-off-by: pohanhuang <pohan.huang@suse.com>
This commit is contained in:
Po Han Huang 2026-08-18 12:32:02 +08:00 committed by GitHub
parent 3f39d561be
commit 5f32a9ade5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -390,14 +390,17 @@ export default {
:vmi-resource="vmi"
:vmim-resource="vmim"
/>
<DashboardMetrics
<div
v-if="showVmMetrics && liveMigrationProgressEnabled"
class="migration-metrics-scroll mb-30"
>
<DashboardMetrics
:detail-url="VM_MIGRATION_DETAIL_URL"
graph-height="640px"
graph-height="960px"
:has-summary-and-detail="false"
:vars="graphVars"
class="mb-30"
/>
</div>
<Events
v-if="liveMigrationProgressEnabled"
:resource="vmi"
@ -436,3 +439,10 @@ export default {
</Tabbed>
</div>
</template>
<style lang="scss" scoped>
.migration-metrics-scroll {
max-height: 640px;
overflow-y: auto;
}
</style>