diff options
author | Nivesh Rajbhandari | 2012-05-14 14:38:35 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-14 14:38:35 -0700 |
commit | cfd3a44bb7aba54c15fab59eff39ecdffcb7ac11 (patch) | |
tree | 80d0309d3e1b8ceae7ced1c327d1060b162d85e1 /js/controllers | |
parent | 8c014c75b7f7ac7cf854af6d2cc2f8d330335858 (diff) | |
download | ninja-cfd3a44bb7aba54c15fab59eff39ecdffcb7ac11.tar.gz |
Viewport for banner templates so content doesn't push through "body".
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 3b6eb5bf..3ce4ba81 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -683,11 +683,9 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){ | |||
683 | } | 683 | } |
684 | 684 | ||
685 | if(needsRule) { | 685 | if(needsRule) { |
686 | // rule = sc.addRule('body{}'); | 686 | rule = sc.addRule('.ninja-body{}'); |
687 | // sc.setStyles(rule, styles); | ||
688 | rule = sc.addRule('.ninjaUserDoc{}'); | ||
689 | sc.setStyles(rule, styles); | 687 | sc.setStyles(rule, styles); |
690 | sc.addClass(docRoot, "ninjaUserDoc"); | 688 | sc.addClass(docRoot, "ninja-body"); |
691 | } | 689 | } |
692 | } | 690 | } |
693 | } | 691 | } |