ngx-codemirror icon indicating copy to clipboard operation
ngx-codemirror copied to clipboard

Div inside codemirror wrapper does not fit to host

Open Swiftpaws opened this issue 4 years ago • 1 comments

Problem: image Altough the codemirror wrapper has a style with 100% width and height applied to it the div inside the element does not use 100% of the host dimensions

Div in question: image

Solution: Add this to your component css file: ::ng-deep { div .CodeMirror.cm-s-idea { height:100%; } }

Swiftpaws avatar Jul 13 '20 13:07 Swiftpaws

Still would be nice to have this functionality out of the box. Could this be added?

Swiftpaws avatar Jul 13 '20 14:07 Swiftpaws