chore: codemirror editor occupy remaing height

This commit is contained in:
Anoop M D
2022-01-26 03:00:21 +05:30
parent 6812494d6b
commit 2007ff3a67
7 changed files with 18 additions and 16 deletions

View File

@@ -3,6 +3,8 @@ 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 - 230px);
}
div.overlay{