diff --git a/nezha-fronted/src/assets/css/components/common/elementSet.scss b/nezha-fronted/src/assets/css/components/common/elementSet.scss index cd3a652c3..61eb27164 100644 --- a/nezha-fronted/src/assets/css/components/common/elementSet.scss +++ b/nezha-fronted/src/assets/css/components/common/elementSet.scss @@ -35,6 +35,7 @@ width: 100%; height: 300px; border: 1px solid $--button-light-border-color !important; + line-height: 1.5; } .custom-labels i { color: #04b330; @@ -42,6 +43,15 @@ position: absolute; left: 5px; top: 6px; + margin: 0 !important; +} +.explore-table-title{ + display: none; +} +.is-active .explore-table-title{ + display: block; + position: relative; + width: 100% } .nz-btn.nz-btn-style-light { background-color: $--background-color-empty; diff --git a/nezha-fronted/src/components/common/elementSet.vue b/nezha-fronted/src/components/common/elementSet.vue index e42db76d5..605ad3747 100644 --- a/nezha-fronted/src/components/common/elementSet.vue +++ b/nezha-fronted/src/components/common/elementSet.vue @@ -8,7 +8,7 @@ v-for="(item,index) in custom" :key="index" class="custom-label" - @click="handler(item,index)" + @click.stop="handler(item,index)" :id="'element-set-el-'+index" :class="{'custom-title orange-font':item.type == 'title','custom-label-disabled':!allowedAll&&!item.allowed && (index==0 || index == 1 || item.NotSet)}" > @@ -20,17 +20,17 @@
- -
- -
diff --git a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue index 4b0be2577..113346d0c 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue @@ -91,6 +91,29 @@
+
+ Table + + + + +