mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
Fix collapse animation
This commit is contained in:
parent
9dcd2a05ea
commit
3a5d76ee51
@ -50,7 +50,7 @@
|
||||
}
|
||||
|
||||
&-content {
|
||||
height: 0;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
color: @text-color;
|
||||
padding: 0 16px;
|
||||
@ -60,6 +60,10 @@
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
&-active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&-collapsing {
|
||||
@ -73,10 +77,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-content-active {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
& > &-item-active {
|
||||
> .@{collapse-prefix-cls}-header {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user