-//.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;
}
-
-.edit-area {
- height: 100%;
-}
-
-.page-style.editor {
- height: 100%;
-}
-
.mce-tinymce {
.mce-panel {
background-color: #FFF;
.mce-btn {
background-color: #FFF;
}
+}
+
+.mce-container-body.mce-flow-layout {
+ text-align: center;
+}
+
+.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 1 auto;
+ display: flex !important;
+ flex-direction: column;
+ align-items: stretch;
+ > .mce-toolbar-grp {
+ flex: 0 1 auto;
+ }
+ > .mce-edit-area {
+ flex: 1 1 auto;
+ display: flex !important;
+ flex-direction: column;
+ align-items: stretch;
+ iframe {
+ flex: 1;
+ }
+ }
+ }
}
\ No newline at end of file