Răsfoiți Sursa

update step style

qingwei.li 9 ani în urmă
părinte
comite
699d288ec1
2 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 1
      packages/steps/src/step.vue
  2. 0 1
      packages/theme-default/src/steps.css

+ 1 - 1
packages/steps/src/step.vue

@@ -110,7 +110,7 @@ export default {
 
     if (parent.direction === 'horizontal') {
       this.style = { width: space };
-      this.mainOffset = -this.$refs.title.getBoundingClientRect().width / 2 + 16 + 'px';
+      // this.mainOffset = -this.$refs.title.getBoundingClientRect().width / 2 + 16 + 'px';
     } else {
       this.style = { height: space };
     }

+ 0 - 1
packages/theme-default/src/steps.css

@@ -3,7 +3,6 @@
 
 @component-namespace el {
   @b steps {
-    overflow: hidden;
     font-size: 0;
 
     > :last-child .el-step__line {