fix: 修复分辨率过小时,单词被拆开的问题

This commit is contained in:
刘洪洪
2023-03-28 18:13:20 +08:00
parent 4af4dc4260
commit 6405b06907
3 changed files with 14 additions and 7 deletions

View File

@@ -61,7 +61,11 @@ body {
}
}
// 单词换行不被拆开
.el-table .cell {
// 表头单词换行不被拆开
.el-table th > .cell {
word-break: keep-all !important;
}
// 表格内容换行,不对中文生效,避免中文出现省略号
.el-table .cell {
word-break: break-word !important;
}