Ver código fonte

Merge pull request #427 from weseek/fix/editor-height-on-ie11

fix #426: Editor is broken on IE11
Yuki Takei 7 anos atrás
pai
commit
1d5b2821f8
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      resource/styles/scss/_on-edit.scss

+ 2 - 0
resource/styles/scss/_on-edit.scss

@@ -82,10 +82,12 @@ body.on-edit {
         .row,
         .row,
         .page-editor-preview-container,
         .page-editor-preview-container,
         .page-editor-preview-body {
         .page-editor-preview-body {
+          min-height: calc(100vh - #{$header-plus-footer});   // for IE11
           height: calc(100vh - #{$header-plus-footer});
           height: calc(100vh - #{$header-plus-footer});
         }
         }
         // left(editor)
         // left(editor)
         .page-editor-editor-container {
         .page-editor-editor-container {
+          min-height: calc(100vh - #{$header-plus-footer});   // for IE11
           height: calc(100vh - #{$header-plus-footer});
           height: calc(100vh - #{$header-plus-footer});
 
 
           .react-codemirror2, .CodeMirror, .CodeMirror-scroll,
           .react-codemirror2, .CodeMirror, .CodeMirror-scroll,