对样式进行修改
This commit is contained in:
@@ -307,16 +307,15 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
/* 名称列样式:一行显示,超出隐藏 */
|
/* 所有列样式:一行显示,超出隐藏 */
|
||||||
:deep(.el-table .el-table__row td:first-child .cell) {
|
:deep(.el-table .el-table__row td .cell) {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 鼠标悬浮时显示完整名称 */
|
/* 鼠标悬浮时显示完整内容 */
|
||||||
:deep(.el-table .el-table__row td:first-child:hover .cell) {
|
:deep(.el-table .el-table__row:hover td .cell) {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
text-overflow: unset;
|
text-overflow: unset;
|
||||||
|
|||||||
Reference in New Issue
Block a user