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

(cherry picked from commit 5f32a9ade58d514488fde5894ef2cae987c3c8a5)

Signed-off-by: pohanhuang <pohan.huang@suse.com>
Co-authored-by: Po Han Huang <pohan.huang@suse.com>
This commit is contained in:
mergify[bot] 2026-08-18 12:41:02 +08:00 committed by GitHub
parent b3b467f7b5
commit 63ff8ce8fe
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>