diff --git a/nezha-fronted/src/assets/css/common/tableCommon.scss b/nezha-fronted/src/assets/css/common/tableCommon.scss index 6f16332ae..87714035f 100644 --- a/nezha-fronted/src/assets/css/common/tableCommon.scss +++ b/nezha-fronted/src/assets/css/common/tableCommon.scss @@ -20,6 +20,12 @@ box-sizing: border-box; background-color: $--background-color-base; &>div { + background-color: $--background-color-empty; + } + .nz-table-list>div{ + height: 100%; + } + &>.chart-list-box{ background-color: $--chart-box-background-color; &>.table-list-box { background-color: $--chart-box-background-color; @@ -33,9 +39,6 @@ padding-bottom: 5px; margin-bottom: 10px; } - .nz-table-list>div{ - height: 100%; - } } .main-list.main-list-with-sub { height: 50%; diff --git a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss index 3a9419775..4beaf1722 100644 --- a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss +++ b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss @@ -44,11 +44,25 @@ overflow: hidden; } } + &>.chart-list-box{ + &>.table-list-box { + background-color: $--chart-box-background-color; + } + .vue-grid-item { + background-color: $--chart-background-color-base + } + } } & > .bottom-dashboard { padding: 15px 10px 0px 10px !important; } } +.bottom-data-list .chart-list-box { + background-color: $--chart-box-background-color; + .nz-table-list{ + background-color: $--chart-box-background-color; + } +} .sub-top-tools .top-tool-btn-txt .nz-icon { display: inline-block; font-size: 12px; diff --git a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue index 353b63507..53d89c3c2 100644 --- a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue +++ b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue @@ -38,7 +38,7 @@ :table-class="true" > -