mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
add open animation
This commit is contained in:
parent
86655c0ebc
commit
fee00e3841
@ -99,7 +99,7 @@ export default class Drawer extends React.Component<
|
||||
<div style={containerStyle} >
|
||||
{header}
|
||||
{closer}
|
||||
<div className={`${prefixCls}-body`} style={this.props.style}>{this.props.children}</div>;
|
||||
<div className={`${prefixCls}-body`} style={this.props.style}>{this.props.children}</div>
|
||||
</div >
|
||||
);
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
@dawer-prefix-cls: ~"@{ant-prefix}-drawer";
|
||||
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
||||
|
||||
.@{dawer-prefix-cls} {
|
||||
position: fixed;
|
||||
@ -7,6 +8,10 @@
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
|
||||
>* {
|
||||
transition: all .3s @ease-in-out-circ;
|
||||
}
|
||||
|
||||
&-content-wrapper {
|
||||
position: absolute;
|
||||
z-index: @zindex-modal-mask + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user