feat: Using CodeEditor for displaying response (more performant, no flicker :D)

This commit is contained in:
Anoop M D
2022-03-20 14:14:41 +05:30
parent 7c2e909488
commit f2925022e8
3 changed files with 5 additions and 54 deletions

View File

@ -2,14 +2,9 @@ import styled from 'styled-components';
const StyledWrapper = styled.div`
div.CodeMirror {
border: solid 1px var(--color-codemirror-border);
/* todo: find a better way */
height: calc(100vh - 255px);
}
textarea.cm-editor {
position: relative;
}
`;
export default StyledWrapper;