Просмотр исходного кода

adjust editor height considering .navbar-editor height

utsushiiro 7 лет назад
Родитель
Сommit
13b7a8aee2
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/client/styles/scss/_on-edit.scss

+ 3 - 1
src/client/styles/scss/_on-edit.scss

@@ -15,7 +15,9 @@ body.on-edit {
                       + 42px                    // .nav height
                       + 1px                     // .page-editor-footer border-top
                       + 40px;                   // .page-editor-footer min-height
-  $editor-margin: $header-plus-footer + 26px;   // .btn-open-dropzone height
+  $editor-margin: $header-plus-footer
+                  + 26px                        // .btn-open-dropzone height
+                  + 30px;                       // .navbar-editor height
 
   // hide unnecessary elements
   .navbar.navbar-static-top,