Browse Source

update Web/src/theme/element.scss.
修复sass警告提示(Sass's behavior for declarations that appear after nestedrules will be changing to match the behavior specified by CSS in an upcomingversion, To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in & {} More info: https://sass-lang.com/d/mixed-decls)


Signed-off-by: X5ZJ <x5zj@qq.com>

X5ZJ 2 years ago
parent
commit
290f715e2c
1 changed files with 5 additions and 3 deletions
  1. 5 3
      Web/src/theme/element.scss

+ 5 - 3
Web/src/theme/element.scss

@@ -362,14 +362,16 @@
 
 
 /* Table 表格 element plus 2.2.0 版本
 /* Table 表格 element plus 2.2.0 版本
 ------------------------------- */
 ------------------------------- */
+.el-table {
+	// 表头背景色
+	--el-table-header-bg-color: var(--next-bg-main-color);
+}
+
 .el-table {
 .el-table {
 	.el-button.is-text {
 	.el-button.is-text {
 		padding: 0;
 		padding: 0;
 	}
 	}
 
 
-	// 表头背景色
-	--el-table-header-bg-color: var(--next-bg-main-color);
-
 	// 表头字体颜色
 	// 表头字体颜色
 	thead {
 	thead {
 		color: var(--el-text-color-regular);
 		color: var(--el-text-color-regular);