Kaynağa Gözat

调整表头固定列默认样式

RuoYi 4 yıl önce
ebeveyn
işleme
8a7f33807b
1 değiştirilmiş dosya ile 10 ekleme ve 6 silme
  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;
+		}
+	}
 }
 
 /** 表单布局 **/