From 3b3df49722f4fc443af73bbb729e5efa45297837 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 11 Apr 2024 15:21:03 +0800 Subject: [PATCH] fix: metrics --- src/views/dashboard/Widget.vue | 2 +- .../dashboard/configuration/widget/metric/Index.vue | 9 +++++---- .../dashboard/configuration/widget/metric/Standard.vue | 6 +----- src/views/dashboard/controls/Widget.vue | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/views/dashboard/Widget.vue b/src/views/dashboard/Widget.vue index 902ed18a..6a87e97e 100644 --- a/src/views/dashboard/Widget.vue +++ b/src/views/dashboard/Widget.vue @@ -183,7 +183,7 @@ limitations under the License. --> height: 25px; line-height: 25px; text-align: center; - background-color: aliceblue; + background-color: var(--sw-config-header); font-size: $font-size-smaller; position: relative; } diff --git a/src/views/dashboard/configuration/widget/metric/Index.vue b/src/views/dashboard/configuration/widget/metric/Index.vue index 7f00dc9c..44cfc4aa 100644 --- a/src/views/dashboard/configuration/widget/metric/Index.vue +++ b/src/views/dashboard/configuration/widget/metric/Index.vue @@ -25,9 +25,9 @@ limitations under the License. --> :clearable="true" /> -
{{ t("metrics") }}
-