diff --git a/components/carousel/style/index.less b/components/carousel/style/index.less index 9a87e5c2eb..b31b62618a 100644 --- a/components/carousel/style/index.less +++ b/components/carousel/style/index.less @@ -51,10 +51,8 @@ // fix Carousel content height not match parent node // when children is empty node // https://github.com/ant-design/ant-design/issues/25878 - > div > div > *:empty::after { - visibility: hidden; - content: 'none'; - pointer-events: none; + > div > div { + vertical-align: bottom; } } } @@ -112,7 +110,6 @@ .slick-vertical .slick-slide { display: block; height: auto; - border: @border-width-base @border-style-base transparent; } .slick-arrow.slick-hidden { display: none;