Skip to content

Commit e0b70f2

Browse files
authored
fix: HTML screen should expand with content (#474)
1 parent dedcb14 commit e0b70f2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/editors/sharedComponents/SourceCodeModal/__snapshots__/index.test.jsx.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ exports[`SourceCodeModal renders as expected with default behavior 1`] = `
3434
<div
3535
style={
3636
Object {
37-
"height": "300px",
3837
"padding": "10px 30px",
3938
}
4039
}

src/editors/sharedComponents/SourceCodeModal/index.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ export const SourceCodeModal = ({
3434
isOpen={isOpen}
3535
title={intl.formatMessage(messages.titleLabel)}
3636
>
37-
<div style={{ padding: '10px 30px', height: '300px' }}>
37+
<div style={{ padding: '10px 30px' }}>
3838
<CodeEditor
3939
innerRef={ref}
4040
value={value}
4141
/>
4242
</div>
43-
4443
</BaseModal>
4544
);
4645
};

0 commit comments

Comments
 (0)