Browse Source

Fixed issue with rules.html

Nathan Schneider 5 years ago
parent
commit
a29a7a0fec
1 changed files with 2 additions and 1 deletions
  1. 2 1
      _layouts/rule.html

+ 2 - 1
_layouts/rule.html

@@ -78,6 +78,7 @@ layout: default
   border-radius: 6px;
   padding: 5px;
   font-size: 1.2em;
+  margin: 0 0 10px 0;
 }
 #basicstructure {
   font-size: 1.3em;
@@ -132,7 +133,7 @@ layout: default
 
   var editMode = true;
   window.onload = function() {
-      if ((window.location.href.indexOf("/rules/") != -1) ||
+      if ((window.location.href.indexOf("/templates/") != -1) ||
           (window.location.href.indexOf("/about/") != -1)) {
           toggleEditMode();
       }