summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author@changcode <[email protected]>2021-10-22 17:50:15 +0800
committer@changcode <[email protected]>2021-10-22 17:50:15 +0800
commit015edf87afcc65359169f6e559b8d0d5b4911101 (patch)
treed826bc5acecdb4cd48150c17ee39748dfab80597
parentad8bef81ecf935e4d25b7f6a8523e109f06ced13 (diff)
parentea17306e22a5576a5b3925f7b8e5d3100724abdf (diff)
Merge branch 'dev-2.0' of https://git.mesalab.cn/nezha/nezha-fronted into dev-2.0dev-2.0
# Conflicts: # nezha-fronted/src/components/common/project/topologyL5.vue
-rw-r--r--nezha-fronted/src/components/common/project/topology.scss15
-rw-r--r--nezha-fronted/src/components/common/project/topologyL5.vue2
2 files changed, 13 insertions, 4 deletions
diff --git a/nezha-fronted/src/components/common/project/topology.scss b/nezha-fronted/src/components/common/project/topology.scss
index c8660b557..40cb598ef 100644
--- a/nezha-fronted/src/components/common/project/topology.scss
+++ b/nezha-fronted/src/components/common/project/topology.scss
@@ -545,11 +545,20 @@
.selpop {
cursor: pointer;
}
-.topo-noData /deep/ .icon{
- width: 5rem;
- height: 5rem;
+.topo-noData{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
+ .content{
+ text-align: center;
+ font-size: 16px;
+ color: #333333;
+ font-weight: 400;
+ }
+}
+.topo-noData /deep/ .icon{
+ width: 5rem;
+ height: 5rem;
+
}
diff --git a/nezha-fronted/src/components/common/project/topologyL5.vue b/nezha-fronted/src/components/common/project/topologyL5.vue
index 2c6385757..43553fcf0 100644
--- a/nezha-fronted/src/components/common/project/topologyL5.vue
+++ b/nezha-fronted/src/components/common/project/topologyL5.vue
@@ -232,7 +232,7 @@
<svg class="icon" aria-hidden="true">
<use xlink:href="#nz-icon-no-data-project"></use>
</svg>
- <div class="icon" style="font-size: 16px;color: #333333;font-weight: 400;top: 57%;left: 51%">No data</div>
+ <div class="content">No data</div>
</div>
</div>
<!--endpoint-->