style(测试跟踪): 调整测试跟踪关联时的表格样式

--bug=1011572 --user=刘瑞斌 【测试跟踪】-功能测试用例 -关联用例,表头字段 低分辨率 ,下拉按钮显示错位 https://www.tapd.cn/55049933/s/1129819
This commit is contained in:
CaptainB 2022-04-03 17:13:41 +08:00 committed by 刘瑞斌
parent deb847ff5b
commit 697edc7f9f
2 changed files with 8 additions and 3 deletions

View File

@ -54,7 +54,7 @@
prop="versionId"
:filters="versionFilters"
:label="$t('commons.version')"
min-width="120px">
show-overflow-tooltip>
<template v-slot:default="scope">
<span>{{ scope.row.versionName }}</span>
</template>
@ -64,13 +64,14 @@
prop="priority"
:filters="priorityFilters"
sortable
:label="$t('test_track.case.priority')">
:label="$t('test_track.case.priority')"
width="120px">
<template v-slot:default="scope">
<priority-table-item :value="scope.row.priority"/>
</template>
</ms-table-column>
<ms-table-column prop="tags" :label="$t('commons.tag')">
<ms-table-column prop="tags" :label="$t('commons.tag')" width="90px">
<template v-slot:default="scope">
<ms-tag v-for="(itemName, index) in scope.row.tags" :key="index" type="success" effect="plain"
:content="itemName" style="margin-left: 0px; margin-right: 2px"/>

View File

@ -28,6 +28,10 @@
padding: 6px 0;
}
.el-table .el-table__cell {
padding: 6px 0;
}
.el-tabs__header {
margin: 0 0 5px;
}