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

Merge commit '3f0c9abeed4ce344da6368a967e3505729d5631e' into feat/replace-perma-link

yusuketk 5 лет назад
Родитель
Сommit
2e7612a4cd

+ 15 - 0
src/client/styles/scss/_linkedit-preview.scss

@@ -0,0 +1,15 @@
+.linkedit-preview {
+  // same height as forms
+  height: 327.5px;
+  @include media-breakpoint-up(lg) {
+    position: relative;
+    height: 100%;
+  }
+
+  .page-editor-preview-body {
+    @include media-breakpoint-up(lg) {
+      position: absolute;
+    }
+    height: 100%;
+  }
+}

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

@@ -238,26 +238,6 @@ body.on-edit {
         min-width: 150px;
         min-width: 150px;
       }
       }
     }
     }
-
-    .modal-body {
-      height: 84vh;
-    }
-
-    .linkedit-preview {
-      .page-editor-preview-body {
-        height: 28vh;
-      }
-      @include media-breakpoint-up(md) {
-        .page-editor-preview-body {
-          height: 38vh;
-        }
-      }
-      @include media-breakpoint-up(lg) {
-        .page-editor-preview-body {
-          height: 80vh;
-        }
-      }
-    }
   }
   }
 
 
   // .builtin-editor .tab-pane#edit
   // .builtin-editor .tab-pane#edit

+ 1 - 0
src/client/styles/scss/style-app.scss

@@ -59,6 +59,7 @@
 @import 'staff_credit';
 @import 'staff_credit';
 @import 'waves';
 @import 'waves';
 @import 'wiki';
 @import 'wiki';
+@import 'linkedit-preview';
 
 
 /*
 /*
  * for Guest User Mode
  * for Guest User Mode