react antdesign中model的bodystyle 在Ant Design中,Modal组件的bodyStyle属性用于设置Modal主体内容区域的样式。 bodyStyle可以接受一个对象作为值,这个对象包含所有常见的CSS属性,例如: ```jsx <Modal title="Basic Modal" visible={visible} onOk={handleOk} onCancel={handleCancel} bodyStyle={{ padding: '24...
<Modalvisible={this.state.isVisible}onCancel={this.handleCancel}title="Task Overview"style={{top:'20'}}bodyStyle={{padding:'0'}}footer={null}width={820}><divstyle={{overflow:'scroll'}}>Really long, scrolling content. I dont get cut off by the modal body padding.</div></Modal ...
Reproduction link Steps to reproduce Open reproduction link on code sandbox Open the console click on the button "click to reproduce" Notice the deprecation warning "[antd: Modal] bodyStyle is deprecated. Please use styles.body instead."...