score:1

Accepted answer

Override the padding and then also hide the overflow so the border radius is visible.

<Modal
  visible={isModalVisible}
  style={{
    backgroundColor: "#FFFFFF",
    borderRadius: "20px",
    overflow: "hidden",
    padding: 0
  }}
  width={480}
  footer={null}
>
  <p>Done</p>
  <p>Added name!</p>
  <Button onClick={handleCancel}>OK</Button>
</Modal>

enter image description here

Edit styling-issue-after-removing-footer-from-antd-design


Related Query

More Query from same tag