mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-03 00:49:07 +08:00
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:
parent
dac0c81d96
commit
1d6f1b0ef3
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<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">
|
<div class="h-app-card" v-for="(app, index) in apps" :key="index">
|
||||||
<el-row :gutter="10">
|
<el-row :gutter="10">
|
||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
@ -118,4 +118,10 @@ defineExpose({
|
|||||||
border: 0;
|
border: 0;
|
||||||
border-top: var(--panel-border);
|
border-top: var(--panel-border);
|
||||||
}
|
}
|
||||||
|
/* FOR MOZILLA */
|
||||||
|
@-moz-document url-prefix() {
|
||||||
|
.moz-height {
|
||||||
|
height: 499px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
<div v-if="chartOption === 'io'" style="margin-top: 40px" class="mobile-monitor-chart">
|
<div v-if="chartOption === 'io'" style="margin-top: 40px" class="mobile-monitor-chart">
|
||||||
<v-charts
|
<v-charts
|
||||||
height="360px"
|
height="358px"
|
||||||
id="ioChart"
|
id="ioChart"
|
||||||
type="line"
|
type="line"
|
||||||
:option="chartsOption['ioChart']"
|
:option="chartsOption['ioChart']"
|
||||||
@ -136,7 +136,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="chartOption === 'network'" style="margin-top: 40px" class="mobile-monitor-chart">
|
<div v-if="chartOption === 'network'" style="margin-top: 40px" class="mobile-monitor-chart">
|
||||||
<v-charts
|
<v-charts
|
||||||
height="360px"
|
height="358px"
|
||||||
id="networkChart"
|
id="networkChart"
|
||||||
type="line"
|
type="line"
|
||||||
:option="chartsOption['networkChart']"
|
:option="chartsOption['networkChart']"
|
||||||
|
Loading…
Reference in New Issue
Block a user