fix: HTML screen should expand with content (#474)
This commit is contained in:
@@ -34,7 +34,6 @@ exports[`SourceCodeModal renders as expected with default behavior 1`] = `
|
||||
<div
|
||||
style={
|
||||
Object {
|
||||
"height": "300px",
|
||||
"padding": "10px 30px",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,13 +34,12 @@ export const SourceCodeModal = ({
|
||||
isOpen={isOpen}
|
||||
title={intl.formatMessage(messages.titleLabel)}
|
||||
>
|
||||
<div style={{ padding: '10px 30px', height: '300px' }}>
|
||||
<div style={{ padding: '10px 30px' }}>
|
||||
<CodeEditor
|
||||
innerRef={ref}
|
||||
value={value}
|
||||
/>
|
||||
</div>
|
||||
|
||||
</BaseModal>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user