30 lines
405 B
SCSS
30 lines
405 B
SCSS
@import "../config";
|
|
|
|
.editor, .preview {
|
|
@include no-webkit-scrollbar;
|
|
position: absolute;
|
|
right: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.editor {
|
|
top: 0;
|
|
bottom: 50%;
|
|
left: 0;
|
|
div:global(.CodeMirror) {
|
|
display: flex;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
max-height: 100%;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
.preview {
|
|
top: 50%;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
}
|