fix: 🐛 修复黑暗模式下表格被选中后高亮背景色异常的bug

This commit is contained in:
zhou-leo
2024-11-12 16:30:05 +08:00
parent 8c5c15f383
commit c3db786d51
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
/* 暗黑模式通过 CSS 自定义变量官方链接https://element-plus.org/zh-CN/guide/dark-mode.html#%E9%80%9A%E8%BF%87-css */
html.dark {
.el-table {
/* 自定义表格选中高亮时当前行的背景颜色 */
--el-table-current-row-bg-color: var(--el-fill-color-light);
}
}