]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_editor.scss
ExportFormatter: Add book description and check for empty book and chapter descriptio...
[bookstack] / resources / sass / _editor.scss
index 61a9f2de01fa579b6975d67d272dd369bf9159a0..b33cb4d055870b4aa96e6f67f184d96e0e7a118f 100644 (file)
@@ -26,6 +26,8 @@ body.editor-is-fullscreen {
   }
 }
 .editor-content-area {
+  min-height: 100%;
+  padding-block: 1rem;
   &:focus {
     outline: 0;
   }
@@ -33,6 +35,7 @@ body.editor-is-fullscreen {
 .editor-content-wrap {
   position: relative;
   overflow-y: scroll;
+  flex: 1;
 }
 
 // Buttons
@@ -96,6 +99,9 @@ body.editor-is-fullscreen {
     fill: #888;
   }
 }
+.editor-container[dir="rtl"] .editor-menu-button-icon {
+  rotate: 180deg;
+}
 .editor-button-with-menu-container {
   display: flex;
   flex-direction: row;
@@ -131,7 +137,6 @@ body.editor-is-fullscreen {
   background-color: #FFF;
   box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
   z-index: 99;
-  min-width: 120px;
   display: flex;
   flex-direction: row;
 }
@@ -171,6 +176,9 @@ body.editor-is-fullscreen {
   background-position: 98% 50%;
   background-size: 28px;
 }
+.editor-container[dir="rtl"] .editor-format-menu-toggle {
+  background-position: 2% 50%;
+}
 .editor-format-menu .editor-dropdown-menu {
   min-width: 300px;
   .editor-dropdown-menu {
@@ -324,9 +332,10 @@ body.editor-is-fullscreen {
 .editor-node-resizer {
   position: absolute;
   left: 0;
-  right: 0;
+  right: auto;
   display: inline-block;
   outline: 2px dashed var(--editor-color-primary);
+  direction: ltr;
 }
 .editor-node-resizer-handle {
   position: absolute;