From 731d652a7d6250d613b2ea1668171ade4f6afed9 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Tue, 16 Apr 2024 17:52:51 +0800 Subject: [PATCH] fix: polish (#390) --- src/components/Graph.vue | 10 ++++------ src/views/dashboard/graphs/Table.vue | 12 +++++++++++- .../dashboard/related/topology/pod/InstanceMap.vue | 6 ++++-- .../related/topology/service/HierarchyMap.vue | 6 ++++-- .../related/topology/service/ServiceMap.vue | 6 +++--- 5 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/components/Graph.vue b/src/components/Graph.vue index 174d6de4..280bac4f 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -235,12 +235,10 @@ limitations under the License. --> .no-data { font-size: $font-size-smaller; height: 100%; - box-sizing: border-box; - display: -webkit-box; - -webkit-box-orient: horizontal; - -webkit-box-pack: center; - -webkit-box-align: center; - color: #666; + align-items: center; + justify-content: center; + display: flex; + color: var(--text-color-placeholder); } .chart { diff --git a/src/views/dashboard/graphs/Table.vue b/src/views/dashboard/graphs/Table.vue index baaf2190..df563ac5 100644 --- a/src/views/dashboard/graphs/Table.vue +++ b/src/views/dashboard/graphs/Table.vue @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. -->