diff --git a/nezha-fronted/src/assets/css/components/chart/chart.scss b/nezha-fronted/src/assets/css/components/chart/chart.scss index 426dffe62..ff02f21a2 100644 --- a/nezha-fronted/src/assets/css/components/chart/chart.scss +++ b/nezha-fronted/src/assets/css/components/chart/chart.scss @@ -16,7 +16,7 @@ display: flex; position: relative; flex-direction: column; - &:hover .chart-header.chart-header--float{ + &:hover > .chart-header.chart-header--float{ background-color: $--chart-title-hover-background-color; height: 39px; opacity: 1; @@ -748,4 +748,4 @@ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; -} \ No newline at end of file +} diff --git a/nezha-fronted/src/assets/css/components/common/alert/alertMessageInfo.scss b/nezha-fronted/src/assets/css/components/common/alert/alertMessageInfo.scss index 099500fd7..167abb546 100644 --- a/nezha-fronted/src/assets/css/components/common/alert/alertMessageInfo.scss +++ b/nezha-fronted/src/assets/css/components/common/alert/alertMessageInfo.scss @@ -51,16 +51,23 @@ display: flex; flex-direction: column; - .nz-chart { + .info-box-left-top { height: 36%; margin-bottom: 20px; border: 1px solid $--border-color-light; flex: none; + .nz-chart{ + height: 100%; + } + } + .nz-chart{ + height: 100%; + padding-bottom: 0; } - .alert-message-info-tab { height: 61.8%; flex: 1; + flex-shrink: 0; .alert-label-header-title3 { display: none; @@ -401,6 +408,49 @@ .alert-message-info-tab { .el-tabs.el-tabs--card.el-tabs--top { .el-tabs__content { + height: 100%; + width: 100%; + overflow: hidden; + box-sizing: border-box; + .el-tab-pane { + height: 100%; + width: 100%; + .vue-grid-layout { + padding-bottom: 0; + } + } + .alert-message-info-dashboard { + height: 100%; + width: 100%; + overflow: hidden; + box-sizing: border-box; + .integration-dashboard{ + box-sizing: border-box; + height: 100%; + .dashboard-container{ + height: 100%; + .table-list{ + height: 100%; + .no-data { + text-align: center; + position: absolute; + width: 100%; + top: 50%; + margin-top: -54px; + .no-data-div { + color: $--color-text-regular; + } + } + } + } + .right-box.right-box-dashboard-temp{ + top: 0; + height: 100%; + z-index: 2001; + } + } + } + #pane-alertRule{ .alert-rule-nfo{ .alert-rule-box{ diff --git a/nezha-fronted/src/components/chart/chartList.vue b/nezha-fronted/src/components/chart/chartList.vue index 9121c1008..648d35b66 100644 --- a/nezha-fronted/src/components/chart/chartList.vue +++ b/nezha-fronted/src/components/chart/chartList.vue @@ -768,10 +768,10 @@ export default { // 当前设备是移动设备 this.isPhone = true } + this.noData = !n || n.length < 1 this.gridLayoutShow = false this.firstInit = true this.gridLayoutLoading = true - this.noData = !n || n.length < 1 if (!this.isGroup) { const position = getLayoutPosition(n) this.$store.commit('setChartLastPosition', position) diff --git a/nezha-fronted/src/components/common/alert/alertMessageInfo.vue b/nezha-fronted/src/components/common/alert/alertMessageInfo.vue index e30d1cff6..0ef16d518 100644 --- a/nezha-fronted/src/components/common/alert/alertMessageInfo.vue +++ b/nezha-fronted/src/components/common/alert/alertMessageInfo.vue @@ -23,25 +23,28 @@