diff --git a/src/dropdown-item/dropdown-item.less b/src/dropdown-item/dropdown-item.less index 3daff8589..bc2e67220 100644 --- a/src/dropdown-item/dropdown-item.less +++ b/src/dropdown-item/dropdown-item.less @@ -31,7 +31,7 @@ // 为了解决虚拟节点偶尔出现的问题 display: block; width: 100%; - height: 100%; + height: max-content; overflow: hidden; position: absolute; left: 0;