Przeglądaj źródła

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 lat temu
rodzic
commit
290f715e2c
1 zmienionych plików z 5 dodań i 3 usunięć
  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 版本
 ------------------------------- */
+.el-table {
+	// 表头背景色
+	--el-table-header-bg-color: var(--next-bg-main-color);
+}
+
 .el-table {
 	.el-button.is-text {
 		padding: 0;
 	}
 
-	// 表头背景色
-	--el-table-header-bg-color: var(--next-bg-main-color);
-
 	// 表头字体颜色
 	thead {
 		color: var(--el-text-color-regular);