mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-21 18:56:03 +08:00
Refactor carousel style (#25906)
* refactor: Carousel style for fix vertical-align * fix: remove slide border
This commit is contained in:
parent
cdefaec190
commit
0dff111081
@ -51,10 +51,8 @@
|
|||||||
// fix Carousel content height not match parent node
|
// fix Carousel content height not match parent node
|
||||||
// when children is empty node
|
// when children is empty node
|
||||||
// https://github.com/ant-design/ant-design/issues/25878
|
// https://github.com/ant-design/ant-design/issues/25878
|
||||||
> div > div > *:empty::after {
|
> div > div {
|
||||||
visibility: hidden;
|
vertical-align: bottom;
|
||||||
content: 'none';
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -112,7 +110,6 @@
|
|||||||
.slick-vertical .slick-slide {
|
.slick-vertical .slick-slide {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
border: @border-width-base @border-style-base transparent;
|
|
||||||
}
|
}
|
||||||
.slick-arrow.slick-hidden {
|
.slick-arrow.slick-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user