Browse Source

Refactor carousel style (#25906)

* refactor: Carousel style for fix vertical-align

* fix: remove slide border
pull/25909/head
07akioni 4 years ago
committed by GitHub
parent
commit
0dff111081
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/carousel/style/index.less

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

Loading…
Cancel
Save