fix: HTML screen should expand with content (#474)

This commit is contained in:
Raymond Zhou
2024-04-18 11:48:10 -07:00
committed by GitHub
parent dedcb14386
commit e0b70f2b17
2 changed files with 1 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ exports[`SourceCodeModal renders as expected with default behavior 1`] = `
<div
style={
Object {
"height": "300px",
"padding": "10px 30px",
}
}

View File

@@ -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>
);
};