Merge pull request #1379 from processing/missing-nonfile-frame

Add frane to code editor when selected folder or media file
This commit is contained in:
Cassie Tarakajian 2020-04-08 16:29:18 -04:00 committed by GitHub
commit 55faf45a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,4 @@
.CodeMirror { .CodeMirror {
@include themify() {
border: 1px solid getThemifyVariable('ide-border-color');
}
font-family: Inconsolata, monospace; font-family: Inconsolata, monospace;
height: 100%; height: 100%;
} }
@ -328,7 +325,10 @@ pre.CodeMirror-line {
height: calc(100% - #{29 / $base-font-size}rem); height: calc(100% - #{29 / $base-font-size}rem);
width: 100%; width: 100%;
position: absolute; position: absolute;
&.editor-holder--hidden { @include themify() {
border: 1px solid getThemifyVariable('ide-border-color');
}
&.editor-holder--hidden .CodeMirror {
display: none; display: none;
} }
} }