mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +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
|
||||
// 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…
Reference in New Issue
Block a user