ui(editor): fix editor child styling

This commit is contained in:
Matthew Penner 2023-01-12 12:08:11 -07:00
parent 76b67cb889
commit bc7737840a
No known key found for this signature in database
8 changed files with 48 additions and 14 deletions

View file

@ -130,6 +130,8 @@ export default () => {
<div css={tw`relative`}>
<SpinnerOverlay visible={loading} />
<Editor
style={{ height: 'calc(100vh - 20rem)' }}
childClassName={tw`rounded-md h-full`}
filename={filename}
initialContent={content}
language={language}