Add frane to code editor when selected folder or media file

This commit is contained in:
Cassie Tarakajian 2020-04-08 16:28:49 -04:00
parent 65606f4f7d
commit b744c9bd6d

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;
} }
} }