style:tooltip表格第一个以及最后一个的样式问题

This commit is contained in:
zhangyu
2020-07-30 14:13:11 +08:00
parent fc09fdec39
commit 6407826830

View File

@@ -83,7 +83,7 @@
<template v-else-if="item.prop == 'labels'" class="labels">
<el-tooltip
v-for="item in labelsSort(scope.row.labels)"
placement="right"
:placement="scope.$index==0?'right-start':(scope.$index==tableData.length-1?'right-end':'right')"
effect="light"
:disabled="!(item.label === 'asset' ||item.label === 'module' || item.label === 'project')"
:key="item.label"
@@ -941,4 +941,10 @@
.tabelH100{
height: 100% !important;
}
/deep/.too-long-split{
vertical-align: bottom;
}
/deep/.el-tooltip{
display: inline-block;
}
</style>