fix: drawer footer fixed (#19751)

* fix footer fiexd

* fix test
This commit is contained in:
jiang 2019-11-15 17:23:14 +08:00 committed by 偏右
parent 2f30c806a3
commit 0cb5601527
2 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,7 @@ class DrawerForm extends React.Component {
width={720}
onClose={this.onClose}
visible={this.state.visible}
bodyStyle={{ paddingBottom: 80 }}
>
<Form layout="vertical" hideRequiredMark>
<Row gutter={16}>
@ -140,7 +141,7 @@ class DrawerForm extends React.Component {
<div
style={{
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
width: '100%',
borderTop: '1px solid #e9e9e9',

View File

@ -197,6 +197,10 @@
line-height: @line-height-base;
word-wrap: break-word;
}
&-wrapper-body {
height: 100%;
overflow: auto;
}
&-mask {
position: absolute;