今天遇到scoped内部的scss设置无效,解决办法如下:

/deep/

<style scoped lang="scss">
.position-el-steps {
  /deep/ .el-step.is-vertical {
    .el-step__description {
      margin-top: -20px;
    }

    .el-step__line {
      border-left: 2px dashed #c0c4cc;
      background-color: transparent;
      visibility: visible !important;
    }
  }
}

 

Logo

前往低代码交流专区

更多推荐