1
This commit is contained in:
parent
5abfb2e6ce
commit
ca2ff76045
@ -37,8 +37,15 @@ const CodePreviewModal: React.FC<{
|
||||
onCancel={onCancel}
|
||||
footer={null}
|
||||
width={isFullscreen ? "100%" : 800}
|
||||
style={isFullscreen ? { top: 0, maxWidth: '100%', margin: 0, paddingBottom: 0 } : undefined}
|
||||
bodyStyle={{ padding: 0 }}
|
||||
styles={{
|
||||
body: { padding: 0 },
|
||||
content: isFullscreen ? {
|
||||
top: 0,
|
||||
maxWidth: '100%',
|
||||
margin: 0,
|
||||
paddingBottom: 0
|
||||
} : undefined
|
||||
}}
|
||||
destroyOnClose
|
||||
>
|
||||
<Editor
|
||||
|
||||
Loading…
Reference in New Issue
Block a user