Explorar o código

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 hai 1 ano
pai
achega
290f715e2c
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  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);