|
|
@@ -74,7 +74,6 @@ body.on-edit {
|
|
|
+ 1px // .page-editor-footer border-top
|
|
|
+ 40px; // .page-editor-footer min-height
|
|
|
$editor-margin: $header-plus-footer + 22px; // .btn-open-dropzone height
|
|
|
- $editor-margin-sm: $header-plus-footer;
|
|
|
|
|
|
#page-editor {
|
|
|
// right(preview)
|
|
|
@@ -93,10 +92,6 @@ body.on-edit {
|
|
|
.react-codemirror2, .CodeMirror, .CodeMirror-scroll,
|
|
|
.textarea-editor {
|
|
|
height: calc(100vh - #{$editor-margin});
|
|
|
- // less than smartphone
|
|
|
- @media (max-width: $screen-xs) {
|
|
|
- height: calc(100vh - #{$editor-margin-sm});
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -171,24 +166,6 @@ body.on-edit {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .btn-open-dropzone {
|
|
|
- z-index: 2;
|
|
|
- font-size: small;
|
|
|
- text-align: right;
|
|
|
- padding-top: 3px;
|
|
|
- padding-bottom: 0;
|
|
|
- border: none;
|
|
|
- border-radius: 0;
|
|
|
- border-top: 1px dotted #ccc;
|
|
|
- &:active {
|
|
|
- box-shadow: none;
|
|
|
- }
|
|
|
- // hide if screen size is less than smartphone
|
|
|
- @media (max-width: $screen-xs) {
|
|
|
- display: none;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
.page-editor-preview-container {
|
|
|
}
|