ui(editor): fix editor child styling
This commit is contained in:
parent
76b67cb889
commit
bc7737840a
8 changed files with 48 additions and 14 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue