Explorar o código

adjust layout for edit

Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
d4d449e8bc
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/client/styles/scss/_on-edit.scss

+ 10 - 0
src/client/styles/scss/_on-edit.scss

@@ -11,6 +11,16 @@ body:not(.on-edit) {
 body.on-edit {
 body.on-edit {
   overflow-y: hidden !important;
   overflow-y: hidden !important;
 
 
+  .grw-navbar {
+    position: fixed !important;
+    width: 100vw;
+  }
+
+  .page-wrapper {
+    position: relative;
+    top: $grw-navbar-border-width;
+  }
+
   // calculate margin
   // calculate margin
   $editor-header-plus-footer: 42px // .nav-tabs height
   $editor-header-plus-footer: 42px // .nav-tabs height
     + 1px //                          .page-editor-footer border-top
     + 1px //                          .page-editor-footer border-top