style: centered positioning and alignment added to modal and userpopup components
- Added centered positioning to Modal component in PromptPopup. - Added centered alignment to UserPopup component.
This commit is contained in:
parent
eb799879ff
commit
ef40e9db5f
@ -40,7 +40,7 @@ const PromptPopupContainer: React.FC<Props> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<Modal title={title} open={open} onOk={onOk} onCancel={handleCancel} afterClose={onClose}>
|
||||
<Modal title={title} open={open} onOk={onOk} onCancel={handleCancel} afterClose={onClose} centered>
|
||||
<Box mb={8}>{message}</Box>
|
||||
<Input
|
||||
placeholder={inputPlaceholder}
|
||||
|
||||
@ -44,7 +44,8 @@ const PopupContainer: React.FC<Props> = ({ resolve }) => {
|
||||
onOk={onOk}
|
||||
onCancel={onCancel}
|
||||
afterClose={onClose}
|
||||
transitionName="ant-move-down">
|
||||
transitionName="ant-move-down"
|
||||
centered>
|
||||
<Center mt="30px">
|
||||
<Upload
|
||||
customRequest={() => {}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user