fix: 优化首页对齐问题 (#1689)

#### What this PR does / why we need it?

#### Summary of your change

#### Please indicate you've done the following:

- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/).
- [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
This commit is contained in:
wangdan-fit2cloud 2023-07-17 16:32:34 +08:00 committed by GitHub
parent dac0c81d96
commit 1d6f1b0ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<el-scrollbar max-height="500px">
<el-scrollbar max-height="500px" class="moz-height">
<div class="h-app-card" v-for="(app, index) in apps" :key="index">
<el-row :gutter="10">
<el-col :span="5">
@ -118,4 +118,10 @@ defineExpose({
border: 0;
border-top: var(--panel-border);
}
/* FOR MOZILLA */
@-moz-document url-prefix() {
.moz-height {
height: 499px;
}
}
</style>

View File

@ -126,7 +126,7 @@
<div v-if="chartOption === 'io'" style="margin-top: 40px" class="mobile-monitor-chart">
<v-charts
height="360px"
height="358px"
id="ioChart"
type="line"
:option="chartsOption['ioChart']"
@ -136,7 +136,7 @@
</div>
<div v-if="chartOption === 'network'" style="margin-top: 40px" class="mobile-monitor-chart">
<v-charts
height="360px"
height="358px"
id="networkChart"
type="line"
:option="chartsOption['networkChart']"