Refactor carousel style (#25906)

* refactor: Carousel style for fix vertical-align

* fix: remove slide border
This commit is contained in:
07akioni 2020-07-30 14:06:16 +08:00 committed by GitHub
parent cdefaec190
commit 0dff111081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;