Merge pull request #694 from janmonschke/bugfix/overflowing-code-editor

fix: overflowing code editor
This commit is contained in:
Anoop M D 2023-10-23 00:19:53 +05:30 committed by GitHub
commit ffa4708ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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