Bladeren bron

hide site url not setting in edit mode

zahmis 5 jaren geleden
bovenliggende
commit
8b19c32f21

+ 0 - 2
src/client/styles/scss/_layout_growi.scss

@@ -4,8 +4,6 @@
   .content-main {
     padding: 0;
   }
-  .not-site-url {
-  }
 
   .top-of-table-contents {
     line-height: 1.25;

+ 0 - 1
src/client/styles/scss/_mixins.scss

@@ -17,7 +17,6 @@
 
 @mixin expand-editor($editor-margin-top) {
   $header-plus-footer: $editor-margin-top + $grw-editor-navbar-bottom-height;
-  $header-plus-footer-not-site-url: $editor-margin-top + $grw-editor-navbar-bottom-height + 35px;
 
   $editor-margin: $header-plus-footer //
     + 25px //   add .btn-open-dropzone height

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

@@ -83,6 +83,11 @@ body.on-edit {
     display: none !important;
   }
 
+  // hide alert siteurl undefined
+  .not-site-url {
+    display: none;
+  }
+
   // show only either Edit button or HackMD button
   &.hackmd .nav-tab-edit {
     display: none;