Commit 30ac66cc authored by chechunchi's avatar chechunchi

optimize neos-modal-wrap

parent 65a1e8a5
......@@ -16,12 +16,12 @@ export const NeosModal: React.FC<Props> = (props) => {
<Modal
className={classNames("neos-modal", { "neos-modal-mini": mini })}
centered
maskClosable={false}
maskClosable={true}
onCancel={() => setMini(!mini)}
closeIcon={mini ? <UpOutlined /> : <MinusOutlined />}
bodyStyle={{ padding: "10px 0" }}
mask={!mini}
wrapClassName="neos-modal-wrap"
wrapClassName={classNames({ "neos-modal-wrap": mini })}
closable={canBeMinimized}
{...props}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment