diff --git a/src/components/StockChart/StockChartAntdModal.js b/src/components/StockChart/StockChartAntdModal.js index b3efef59..626b9030 100644 --- a/src/components/StockChart/StockChartAntdModal.js +++ b/src/components/StockChart/StockChartAntdModal.js @@ -507,8 +507,9 @@ const StockChartAntdModal = ({ footer={null} onCancel={onCancel} width={width} - style={{ position: fixed ? 'fixed' : 'absolute', left: fixed ? 50 : 0, top: fixed ? 50 : 80, zIndex: 2000 }} - mask={false} + centered + zIndex={2500} + mask={true} destroyOnClose={true} bodyStyle={{ maxHeight: 'calc(90vh - 120px)', overflowY: 'auto', padding: '16px' }} >