瀏覽代碼

修改样式

Renxy 1 年之前
父節點
當前提交
8e0ed20159
共有 1 個文件被更改,包括 15 次插入3 次删除
  1. 15 3
      src/pages/SmartOps/index.less

+ 15 - 3
src/pages/SmartOps/index.less

@@ -103,9 +103,11 @@
 
 .btnDate {
   margin-right: 0.2rem;
-  font-size: 0.24rem;
-  height: 0.5rem;
-  background-color: #2f4d83;
+  font-size: 0.2rem;
+  line-height: 0.2rem;
+  padding: 0.1rem;
+  height: auto !important;
+  // background-color: #2f4d83;
 }
 .btnSelect {
   .btnDate;
@@ -188,17 +190,27 @@
 
   :global {
     .ant-picker {
+      font-size: 0.18rem;
+      padding: 0.06rem 0.2rem;
       background: #2f4d83;
       .ant-picker-input > input {
         color: #ffffff;
+        font-size: 0.18rem;
       }
       .ant-picker-separator {
         color: #ffffff;
+        display: inline;
       }
       .ant-picker-suffix {
         color: #ffffff;
       }
     }
+    .ant-form-item {
+      line-height: normal;
+      .ant-form-item-control-input {
+        min-height: auto;
+      }
+    }
   }
 }