Skip to content

Commit b744c9b

Browse files
committed
Add frane to code editor when selected folder or media file
1 parent 65606f4 commit b744c9b

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)