Browse Source

从表列名居中

zhuth 7 years ago
parent
commit
0dbb797c7f
1 changed files with 10 additions and 10 deletions
  1. 10 10
      frontend/saas-web/app/view/core/form/field/DetailGridField.scss

+ 10 - 10
frontend/saas-web/app/view/core/form/field/DetailGridField.scss

@@ -8,6 +8,16 @@
     }
 }
 
+.x-column-header{
+    text-align: center !important;
+    border-width: 1px;
+}
+.x-column-header .x-column-header-text {
+    font: "microsoft yahei";
+    text-align: center;
+    font-size:14px;
+    font-weight: 500;
+}
 .x-grid-necessary .x-column-header-text:before{
     content: '*';
     font-size: 130%;
@@ -17,14 +27,4 @@
     margin-top: 4px;
     margin-left: -10px;
     position: absolute;
-}
-.x-grid-necessary{
-    text-align: center !important;
-    border-width: 1px;
-}
-.x-grid-necessary .x-column-header-text {
-    font: "microsoft yahei";
-    text-align: center;
-    font-size:14px;
-    font-weight: 500;
 }