]> BookStack Code Mirror - bookstack/commitdiff
Fixed tag section and editor safari rendering.
authorDan Brown <redacted>
Sat, 13 Aug 2016 13:54:23 +0000 (14:54 +0100)
committerDan Brown <redacted>
Sat, 13 Aug 2016 13:54:23 +0000 (14:54 +0100)
Fixes #152.

resources/assets/sass/_pages.scss
resources/assets/sass/_tinymce.scss

index 49b701dda9468e1b9a67c3322d1eda09fc60f365..d70e0cb3cff6488f8d815bf5a0ae4c8d82157e7d 100644 (file)
   .tabs {
     display: block;
     border-right: 1px solid #DDD;
-    width: 54px;
-    flex: 0;
+    width: 48px;
+    flex: 0 1 auto;
   }
   .tabs i {
     color: rgba(0, 0, 0, 0.5);
index dd0bf7950bb3912e88aa625505e63b9479468929..969bbc9689465a945252e0b0e2078ae514bc7e21 100644 (file)
 }
 
 .edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
-  height: 100%;
-  max-height: 100%;
-  flex: 1;
+  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;