style(接口测试): 修复场景报告中步骤名称过长的样式
--bug=1028208 --user=王孝刚 【接口测试】场景详情-场景断言名称较长-生成报告-名称和结果显示不全 https://www.tapd.cn/55049933/s/1403733
This commit is contained in:
parent
2da3939157
commit
5cde8b7c93
|
@ -18,7 +18,7 @@
|
|||
<el-link v-if="node.redirect" class="report-label-head" @click="isLink">
|
||||
{{ getLabel(node.label) }}
|
||||
</el-link>
|
||||
<span v-else>{{ getLabel(node.label) }}</span>
|
||||
<span v-else class="ms-req-name">{{ getLabel(node.label) }}</span>
|
||||
</el-tooltip>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
|
@ -207,4 +207,15 @@ export default {
|
|||
:deep(.ms-card .el-card__body) {
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
.ms-req-name {
|
||||
display: inline-block;
|
||||
margin: 0 5px;
|
||||
padding-bottom: 0;
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 350px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue