Explorar el Código

adjust iframe size

Yuki Takei hace 7 años
padre
commit
2d52ffd15c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      resource/styles/scss/_on-edit.scss

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

@@ -375,7 +375,8 @@ body.on-edit {
   &.hackmd #hackmd {
     @extend %expand-by-flex;
 
-    #hackmd-editor {
+    #hackmd-editor,
+    iframe {
       min-height: calc(100vh - #{$header-plus-footer});   // for IE11
       height: calc(100vh - #{$header-plus-footer});
     }