mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-21 15:04:26 +00:00
fix: show vertical centered modal in ie
This commit is contained in:
@@ -46,7 +46,7 @@ class User extends PureComponent {
|
||||
title: `${
|
||||
modalType === 'create' ? i18n.t`Create User` : i18n.t`Update User`
|
||||
}`,
|
||||
wrapClassName: 'vertical-center-modal',
|
||||
centered: true,
|
||||
onOk(data) {
|
||||
dispatch({
|
||||
type: `user/${modalType}`,
|
||||
|
||||
@@ -63,21 +63,6 @@ body {
|
||||
box-shadow: 0 0 20px rgba(100, 100, 100, 0.2);
|
||||
}
|
||||
|
||||
.vertical-center-modal {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.ant-modal {
|
||||
top: 0;
|
||||
|
||||
.ant-modal-body {
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ant-form-item-control {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user