当前位置:   article > 正文

el-select的下拉框内容超过了下拉框的宽度要隐藏内容_当下拉框的值大于零后隐藏

当下拉框的值大于零后隐藏

screen为el-select的父级

.screen {
    /deep/ .el-select__tags {
      &>span {
        width: 100%;
        display: flex;

        /deep/ .el-tag.el-tag--info.el-tag--small.el-tag--light {
          &:first-child {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipse;
            white-space: nowrap;
          }
        }
      }
    }
  }
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号