Commit 6a982049 authored by 李纪文's avatar 李纪文

修改组态弹出模态

parent 74f9fbea
......@@ -2241,7 +2241,7 @@ const ConfigurationView = (props) => {
{isJumpModalVisible && jumpModalProps && (
<DragModal
centered
width={jumpModalProps.width ? `${jumpModalProps.width}px` : '100%'}
width={jumpModalProps.width ? `${jumpModalProps.width}px` : '100vw'}
title={jumpModalProps.title}
footer={null}
visible={isJumpModalVisible}
......@@ -2252,7 +2252,7 @@ const ConfigurationView = (props) => {
componentPrefix={componentPrefix}
destroyOnClose={true}
style={{
height: jumpModalProps.height ? `${Number(jumpModalProps.height) + 103}px` : '100%',
height: jumpModalProps.height ? `${Number(jumpModalProps.height) + 103}px` : '100vh',
left: `calc(50% - ${jumpModalProps.width ? jumpModalProps.width / 2 + 'px' : '50%'})`,
top: `calc(50% - ${
jumpModalProps.height ? (Number(jumpModalProps.height) + 103) / 2 + 'px' : '50%'
......
......@@ -236,6 +236,7 @@
.@{ant-prefix}-modal,
.@{ant-prefix}-modal-content {
max-width: 100%;
background: #282d3b;
}
......
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