I am trying to set Antd Modal height to 1000px by default but its not getting applied. Please suggest where I might be doing wrong. Below is my code for the Modal.
<Modal style={{ height: "1000px" }} className="pm" width={600} title="Select" visible={isModalVisible3} footer={null} onCancel={() =>setIsModalVisible3(false)}>
<span>Sample Text</span>
</Modal>
I even added .pm{height: 1000px;}
in my base.css file but no luck
Please suggest a workaround.
Top comments (0)