From 3b3fad72788d3b2b0cc527bfe1f33ace69115e4e Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Fri, 7 Apr 2023 16:42:09 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9B=91=E6=8E=A7=E7=95=8C=E9=9D=A2?=
=?UTF-8?q?=E6=97=B6=E9=97=B4=E6=8E=A7=E4=BB=B6=E5=B1=85=E4=B8=AD=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=20(#533)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/views/host/monitor/index.vue | 38 ++++++++++++++---------
1 file changed, 23 insertions(+), 15 deletions(-)
diff --git a/frontend/src/views/host/monitor/index.vue b/frontend/src/views/host/monitor/index.vue
index 64ce9f9e4..6a3b8d681 100644
--- a/frontend/src/views/host/monitor/index.vue
+++ b/frontend/src/views/host/monitor/index.vue
@@ -12,7 +12,7 @@
- {{ $t('monitor.avgLoad') }}
+ {{ $t('monitor.avgLoad') }}
-
+
@@ -32,7 +32,7 @@
- CPU
+ CPU
-
+
- {{ $t('monitor.memory') }}
+ {{ $t('monitor.memory') }}
-
+
@@ -70,7 +70,7 @@
- {{ $t('monitor.disk') }} IO
+ {{ $t('monitor.disk') }} IO
-
+
- {{ $t('monitor.network') }} IO:
+ {{ $t('monitor.network') }} IO:
{{ $t('monitor.networkCard') }}
@@ -114,10 +114,10 @@
:start-placeholder="$t('commons.search.timeStart')"
:end-placeholder="$t('commons.search.timeEnd')"
:shortcuts="shortcuts"
- style="float: right; width: 360px"
+ style="float: right; margin-top: -5px; width: 360px"
>
-
+
@@ -664,4 +664,12 @@ onBeforeUnmount(() => {
cursor: pointer;
color: var(--el-color-primary);
}
+.title {
+ font-size: 16px;
+ font-weight: 500;
+}
+.chart {
+ width: 100%;
+ height: 400px;
+}