]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_tinymce.scss
Merge pull request #3 from OsmosysSoftware/revert-1-issue-181
[bookstack] / resources / assets / sass / _tinymce.scss
index 547f621281d71d14c469d27c493ae295ae77427c..969bbc9689465a945252e0b0e2078ae514bc7e21 100644 (file)
@@ -1,15 +1,4 @@
 
-//.mce-container {
-//  .mce-menubar, .mce-toolbar-grp {
-//    position: fixed;
-//    width: 100%;
-//  }
-//  .mce-container-body {
-//    position: relative;
-//    overflow: hidden;
-//    display: block;
-//  }
-//}
 
 .mce-tinymce.mce-container.fullscreen {
   position: fixed;
   text-align: center;
 }
 
-.edit-area.flex > .mce-tinymce.mce-container.mce-panel {
-  height: 100%;
-  max-height: 100%;
-  flex: 1;
+.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
+  flex: 1 1 auto;
   display: flex !important;
   flex-direction: column;
   align-items: stretch;
   margin: 0 -1px;
   > .mce-container-body {
-    flex: 1;
+    flex: 1 1 auto;
     display: flex !important;
     flex-direction: column;
     align-items: stretch;
+    > .mce-toolbar-grp {
+      flex: 0 1 auto;
+    }
     > .mce-edit-area {
-      flex: 1;
+      flex: 1 1 auto;
       display: flex !important;
       flex-direction: column;
       align-items: stretch;