对样式进行修改
This commit is contained in:
@@ -307,16 +307,15 @@
|
||||
cursor: pointer;
|
||||
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;
|
||||
overflow: hidden;
|
||||
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;
|
||||
overflow: visible;
|
||||
text-overflow: unset;
|
||||
|
||||
Reference in New Issue
Block a user