perf: legend样式冲突解决、调整dashboard-table全屏上边距
This commit is contained in:
@@ -1121,7 +1121,7 @@ li{
|
||||
margin-top: 5% !important;
|
||||
}
|
||||
.table-chart-dialog .el-dialog .el-dialog__body {
|
||||
height: calc(100% - 100px);
|
||||
height: calc(100% - 82px);
|
||||
}
|
||||
.nz-dialog .el-dialog__body {
|
||||
padding: 0 20px 30px 20px;
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<!--<button @click="refreshChart" type="button" class="nz-btn nz-btn-size-normal nz-btn-style-light"><i style="font-size: 14px;" class="el-icon-refresh-right"></i></button>-->
|
||||
</div>
|
||||
</div>
|
||||
<el-table style="margin-top: 30px;" class="nz-table" height="100%" :data="seriesItemScreen" border tooltip-effect="light" v-scrollBar:el-table>
|
||||
<el-table style="margin-top: 10px;" class="nz-table" height="100%" :data="seriesItemScreen" border tooltip-effect="light" v-scrollBar:el-table>
|
||||
<!-- <el-table-column sortable :show-overflow-tooltip="true" prop="metric" :label="$t('dashboard.panel.chartTableColumn.metric')" ></el-table-column>-->
|
||||
<!-- <el-table-column sortable :show-overflow-tooltip="true" prop="label" :label="$t('dashboard.panel.chartTableColumn.label')" ></el-table-column>-->
|
||||
<el-table-column sortable prop="time" :label="$t('dashboard.panel.chartTableColumn.time')" width="145" ></el-table-column>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
text-align:left;
|
||||
margin:0 auto;
|
||||
line-height: 18px;
|
||||
font-family: Roboto,Helvetica Neue,Arial,sans-serif;
|
||||
}
|
||||
.legend-container-screen.legend-container {
|
||||
height: 115px;
|
||||
|
||||
@@ -1881,15 +1881,4 @@
|
||||
.control-icon-checked{
|
||||
color:#666;
|
||||
}
|
||||
.legend-container{
|
||||
width: calc(100% - 335px);
|
||||
max-height:80px;
|
||||
min-height:40px;
|
||||
overflow-y: auto;
|
||||
font-size:12px;
|
||||
text-align:left;
|
||||
margin:0 auto;
|
||||
line-height: 18px;
|
||||
font-family: Roboto,Helvetica Neue,Arial,sans-serif;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user