forked from liweijie/education
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -124,13 +124,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 表格横向拖拽滚动:拖拽过程中光标切换为“抓手”
|
||||
// 表格横向拖拽滚动:拖拽过程中光标保持默认箭头,不切换为“抓手”
|
||||
.el-table__body-wrapper.is-dragging,
|
||||
.el-table__fixed-body-wrapper.is-dragging {
|
||||
cursor: grabbing;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
/* 表格横拖期间锁定整页光标与文本选中:
|
||||
避免光标划过按钮/链接时闪变成手型、以及拖拽过程误选中文字 */
|
||||
body.el-table-dragging,
|
||||
body.el-table-dragging * {
|
||||
user-select: none !important;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
/* 原生表格同样禁止选中文本,避免横向滑动/滚动时误触发复制前的文本选中 */
|
||||
table {
|
||||
-webkit-user-select: none;
|
||||
|
||||
Reference in New Issue
Block a user