element [Bug Report] el-select multiple style bug

xpcnnkqh  于 4个月前  发布在  其他
关注(0)|答案(3)|浏览(128)

Element UI version

2.13.1

OS/Browsers version

windows

Vue version

2.6.11

https://codepen.io/liaojwdemo/pen/dyYdPdB

Steps to reproduce

多选状态下,如果label超长,tag样式不会换行

What is Expected?

期待修复

What is actually happening?

期待修复

nafvub8i

nafvub8i1#

Translation of this issue:

Element UI version

2.13.1

OS/Browsers version

windows

Vue version

2.6.11

https://codepen.io/liaojwdemo/pen/dyYdPdB

Steps to reproduce

In multi selection mode, if the label is too long, the tag style will not wrap

What is Expected?

Looking forward to repair

What is actually happening?

Looking forward to repair

zujrkrfu

zujrkrfu2#

/deep/ .el-tag--small{
      min-height: 24px;
}
    /deep/ .el-tag{
      height: auto;
      white-space: normal;
    }

//这样覆盖样式,可以换行

btqmn9zl

btqmn9zl3#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题