diff --git a/style/mobile/components/collapse/v2/_index.less b/style/mobile/components/collapse/v2/_index.less index 10c3694dc8..b958831715 100644 --- a/style/mobile/components/collapse/v2/_index.less +++ b/style/mobile/components/collapse/v2/_index.less @@ -23,7 +23,6 @@ background-color: @collapse-panel-bg-color; overflow: hidden; - transition: height ease 240ms; &--top { display: flex; @@ -76,6 +75,15 @@ } } + &__body { + display: grid; + transition: grid-template-rows ease 240ms; + } + + &__inner { + overflow: hidden; + } + &__content { color: @collapse-content-text-color; font-size: @collapse-content-font-size;