mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-09-20 23:55:58 +08:00
fix: 优化首页样式 (#1709)
This commit is contained in:
parent
c62c19a49e
commit
1fd31fffd6
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-scrollbar height="500px" class="moz-height">
|
<el-scrollbar height="525px" 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">
|
||||||
|
@ -88,6 +88,7 @@ defineExpose({
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
line-height: 18px;
|
||||||
|
|
||||||
.h-app-content {
|
.h-app-content {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
@ -122,7 +123,7 @@ defineExpose({
|
||||||
/* FOR MOZILLA */
|
/* FOR MOZILLA */
|
||||||
@-moz-document url-prefix() {
|
@-moz-document url-prefix() {
|
||||||
.moz-height {
|
.moz-height {
|
||||||
height: 499px;
|
height: 524px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</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="358px"
|
height="383px"
|
||||||
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="358px"
|
height="383px"
|
||||||
id="networkChart"
|
id="networkChart"
|
||||||
type="line"
|
type="line"
|
||||||
:option="chartsOption['networkChart']"
|
:option="chartsOption['networkChart']"
|
||||||
|
@ -151,6 +151,7 @@
|
||||||
<el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
|
<el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
|
||||||
<CardWithHeader :header="$t('home.systemInfo')">
|
<CardWithHeader :header="$t('home.systemInfo')">
|
||||||
<template #body>
|
<template #body>
|
||||||
|
<el-scrollbar>
|
||||||
<el-descriptions :column="1" class="h-systemInfo">
|
<el-descriptions :column="1" class="h-systemInfo">
|
||||||
<el-descriptions-item class-name="system-content">
|
<el-descriptions-item class-name="system-content">
|
||||||
<template #label>
|
<template #label>
|
||||||
|
@ -201,6 +202,7 @@
|
||||||
{{ loadUpTime(currentInfo.uptime) }}
|
{{ loadUpTime(currentInfo.uptime) }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
|
</el-scrollbar>
|
||||||
</template>
|
</template>
|
||||||
</CardWithHeader>
|
</CardWithHeader>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue