Skip to content

Commit 55faf45

Browse files
authored
Merge pull request #1379 from processing/missing-nonfile-frame
Add frane to code editor when selected folder or media file
2 parents 65606f4 + b744c9b commit 55faf45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/styles/components/_editor.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
.CodeMirror {
2-
@include themify() {
3-
border: 1px solid getThemifyVariable('ide-border-color');
4-
}
52
font-family: Inconsolata, monospace;
63
height: 100%;
74
}
@@ -328,7 +325,10 @@ pre.CodeMirror-line {
328325
height: calc(100% - #{29 / $base-font-size}rem);
329326
width: 100%;
330327
position: absolute;
331-
&.editor-holder--hidden {
328+
@include themify() {
329+
border: 1px solid getThemifyVariable('ide-border-color');
330+
}
331+
&.editor-holder--hidden .CodeMirror {
332332
display: none;
333333
}
334334
}

0 commit comments

Comments
 (0)