fix(#2605): fix editor view height (#2758)

* fix(#2605): fix editor view height

* chore: disabled prettier on github actions
This commit is contained in:
Anoop M D
2024-08-05 17:49:04 +05:30
committed by GitHub
parent adb843faa7
commit 4598bb1bdd
15 changed files with 23 additions and 39 deletions

View File

@@ -6,6 +6,7 @@ const StyledWrapper = styled.div`
border: solid 1px ${(props) => props.theme.codemirror.border};
font-family: ${(props) => (props.font ? props.font : 'default')};
line-break: anywhere;
flex: 1 1 0;
}
.CodeMirror-overlayscroll-horizontal div,

View File

@@ -289,7 +289,7 @@ export default class CodeEditor extends React.Component {
}
return (
<StyledWrapper
className="h-full w-full"
className="h-full w-full flex flex-col relative"
aria-label="Code Editor"
font={this.props.font}
ref={(node) => {