5.22 高质量运营样式修复

This commit is contained in:
jl-zhoujl2
2023-05-22 17:05:29 +08:00
parent 41d6751cab
commit 9b7eba7922
2 changed files with 60 additions and 1 deletions

View File

@ -163,6 +163,7 @@ const EventMaintenanceModal: React.FC<EventMaintenanceModalProps> = (props) => {
onOk={() => onSubmit()}
okButtonProps={{ loading: loading, hidden: readOnly }}
okText="保存"
className='h-event-maintenance'
maskClosable={false}
style={{ maxHeight: modalHeight }}
bodyStyle={{ maxHeight: modalHeight - 108, overflowY: 'auto', }}
@ -236,7 +237,7 @@ const EventMaintenanceModal: React.FC<EventMaintenanceModalProps> = (props) => {
</Form.Item>
<Form.Item name="content" label="正文内容">
{readOnly ? (
<div style={{ border: '1px solid #c9d8db', padding: '16px', overflowX: 'auto' }}>
<div style={{ border: '1px solid #c9d8db', padding: '16px', overflowX: 'auto' }} className='content-div'>
<div dangerouslySetInnerHTML={{ __html: record?.content }}></div>
</div>
) : (