Explorar o código

调整表头固定列默认样式

RuoYi %!s(int64=4) %!d(string=hai) anos
pai
achega
8a7f33807b
Modificáronse 1 ficheiros con 10 adicións e 6 borrados
  1. 10 6
      ruoyi-ui/src/assets/styles/ruoyi.scss

+ 10 - 6
ruoyi-ui/src/assets/styles/ruoyi.scss

@@ -57,12 +57,16 @@
 	margin-top: 6vh !important;
 }
 
-.el-table .el-table__header-wrapper th {
-	word-break: break-word;
-	background-color: #f8f8f9;
-	color: #515a6e;
-	height: 40px;
-	font-size: 13px;
+.el-table {
+	.el-table__header-wrapper, .el-table__fixed-header-wrapper {
+		th {
+			word-break: break-word;
+			background-color: #f8f8f9;
+			color: #515a6e;
+			height: 40px;
+			font-size: 13px;
+		}
+	}
 }
 
 /** 表单布局 **/