Przeglądaj źródła

style: 工单流程时间对齐

ZhaoJun 1 rok temu
rodzic
commit
551bc069ae

+ 6 - 1
src/pages/Center/MyTask/Detail/workOrderDetail.less

@@ -23,7 +23,7 @@
 
 .taskStep {
   margin-left: 15%;
-  width: 85%;
+  width: 70%;
   :global {
     .ant-steps.ant-steps-vertical > .ant-steps-item .ant-steps-item-content {
       display: flex;
@@ -31,6 +31,11 @@
       align-items: flex-start;
       margin-bottom: 0.3rem;
     }
+    .ant-steps.ant-steps-vertical
+      > .ant-steps-item
+      .ant-steps-item-description {
+      padding-bottom: 0;
+    }
   }
 }
 

+ 7 - 2
src/pages/TaskManage/Detail/TaskOrder/taskOrder.less

@@ -15,15 +15,20 @@
 
 .taskStep {
   margin-left: 15%;
-  width: 85%;
+  width: 70%;
   :global {
     .ant-steps.ant-steps-vertical > .ant-steps-item .ant-steps-item-content {
-      width: 80%;
       display: flex;
       justify-content: space-between;
       align-items: flex-start;
       margin-bottom: 0.3rem;
     }
+
+    .ant-steps.ant-steps-vertical
+      > .ant-steps-item
+      .ant-steps-item-description {
+      padding-bottom: 0;
+    }
   }
 }
 

+ 1 - 2
src/pages/TaskManage/Popup/WorkOrderModal.less

@@ -35,10 +35,9 @@
 
 .taskStep {
   margin-left: 15%;
-  width: 85%;
+  width: 70%;
   :global {
     .ant-steps.ant-steps-vertical > .ant-steps-item .ant-steps-item-content {
-      width: 80%;
       display: flex;
       justify-content: space-between;
       align-items: flex-end;