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