aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-14 15:08:09 -0700
committerValerio Virgillito2012-05-14 15:08:09 -0700
commit835df7fcacda5137f0953892e467e5a84f775b35 (patch)
tree46afb3964a0bf7a09b148fe210467bf45c1274bd /js/controllers
parent8d367ec7b4749ad390a0e15bb0418efc60970b54 (diff)
parenta0cca95a60e71b4c35c097e0be4be9cf0814e987 (diff)
downloadninja-835df7fcacda5137f0953892e467e5a84f775b35.tar.gz
Merge pull request #227 from mqg734/Dom-Architecture
Adding wrapper div for banner templates so content doesn't push through "body".
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 3f4fe2ed..48033b61 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -686,11 +686,9 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){
686 } 686 }
687 687
688 if(needsRule) { 688 if(needsRule) {
689// rule = sc.addRule('body{}'); 689 rule = sc.addRule('.ninja-body{}');
690// sc.setStyles(rule, styles);
691 rule = sc.addRule('.ninjaUserDoc{}');
692 sc.setStyles(rule, styles); 690 sc.setStyles(rule, styles);
693 sc.addClass(docRoot, "ninjaUserDoc"); 691 sc.addClass(docRoot, "ninja-body");
694 } 692 }
695 } 693 }
696 } 694 }