浏览代码

Steps: fix line

qingwei.li 9 年之前
父节点
当前提交
682917aca2
共有 1 个文件被更改,包括 5 次插入7 次删除
  1. 5 7
      packages/theme-default/src/step.css

+ 5 - 7
packages/theme-default/src/step.css

@@ -30,12 +30,10 @@
       position: absolute;
       border-color: inherit;
       background-color: #c0ccda;
-      z-index: -1;
 
       @when icon {
         @when horizontal {
-          width: 55%;
-          margin-left: 35px;
+          right: 4px;
         }
 
         @when vertical {
@@ -47,15 +45,15 @@
       @when horizontal {
         top: 15px;
         height: 2px;
-        width: 100%;
-        margin-right: -14px;
+        left: 32px;
+        right: 0;
       }
 
       @when vertical {
         width: 2px;
-        height: 100%;
         box-sizing: border-box;
-        padding-top: 28px;
+        top: 32px;
+        bottom: 0;
       }
     }