style:修复部分 no data 占位高度溢出问题

This commit is contained in:
@changcode
2022-10-12 17:25:08 +08:00
parent f22ce56239
commit b1e247c36c
2 changed files with 4 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
} }
.performance-event-pie { .performance-event-pie {
position: relative; position: relative;
height: 50%; height: calc(50% - 1px);
width: 100%; width: 100%;
.chart-drawing { .chart-drawing {
height: 100%; height: 100%;

View File

@@ -14,6 +14,9 @@
border: 1px solid #E2E5EC; border: 1px solid #E2E5EC;
border-radius: 4px; border-radius: 4px;
display: flex; display: flex;
.panel-chart__no-data {
height: calc(100% - 30px);
}
.npm-event-pies { .npm-event-pies {
height: 100%; height: 100%;
width: 100%; width: 100%;