Yuki Takei 8 lat temu
rodzic
commit
8f1791dadf
1 zmienionych plików z 7 dodań i 6 usunięć
  1. 7 6
      resource/styles/scss/_on-edit.scss

+ 7 - 6
resource/styles/scss/_on-edit.scss

@@ -96,15 +96,16 @@ body.on-edit {
         // left(editor)
         .page-editor-editor-container {
           height: calc(100vh - #{$header-plus-footer});
-        .react-codemirror2, .CodeMirror, .CodeMirror-scroll {
-          height: calc(100vh - #{$editor-margin});
-          // less than smartphone
-          @media (max-width: $screen-xs) {
-            height: calc(100vh - #{$editor-margin-sm});
+
+          .react-codemirror2, .CodeMirror, .CodeMirror-scroll {
+            height: calc(100vh - #{$editor-margin});
+            // less than smartphone
+            @media (max-width: $screen-xs) {
+              height: calc(100vh - #{$editor-margin-sm});
+            }
           }
         }
       }
-      }
 
       .page-editor-footer {
         width: 100%;