Skip to content

Commit

Permalink
fix: HTML screen should expand with content (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayzhou-bit authored Apr 18, 2024
1 parent dedcb14 commit e0b70f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ exports[`SourceCodeModal renders as expected with default behavior 1`] = `
<div
style={
Object {
"height": "300px",
"padding": "10px 30px",
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/editors/sharedComponents/SourceCodeModal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
};
Expand Down

0 comments on commit e0b70f2

Please sign in to comment.