element-plus [Bug Report] [Component] [select, tree-select] 多选的 超长 Label 在 select 中 显示很怪

hgc7kmma  于 2023-03-19  发布在  其他
关注(0)|答案(1)|浏览(153)

Bug Type: Component

Environment

  • Vue Version: 3.2.33
  • Element Plus Version: 2.1.9
  • Browser / OS: EDGE latest/ Windows 10
  • Build Tool: Other

Reproduction

  • el-select
  • el-tree-select

Element Plus Playground

Steps to reproduce

See the playground link.

What is Expected?

正常显示

What is actually happening?

居中,且不能显示 ...

Additional comments

Adding

.el-select .el-select__tags-text {
  display: block;
}

Seems to work as expected.

yv5phkfx

yv5phkfx1#

我这中情况怎么解决 只能设置固定宽度吗

相关问题