From 08935db8b1eca984bd384ef2b8db8ebba9e50091 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 15 May 2012 14:59:22 -0700 Subject: Fixing overflow on open for template documents --- js/document/views/design.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/document/views/design.js b/js/document/views/design.js index 48c91aad..c7aab1d7 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js @@ -177,7 +177,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { } } //Adjusting margin per size of document - this.document.head.getElementsByTagName('style')[0].innerHTML += '\n ninja-content {overflow: visible !important;} ninja-content, ninja-viewport {width: ' + this._template.size.width + 'px; height: ' + this._template.size.height + 'px;}'; + this.document.head.getElementsByTagName('style')[0].innerHTML += '\n ninja-viewport {overflow: visible !important;} ninja-content, ninja-viewport {width: ' + this._template.size.width + 'px; height: ' + this._template.size.height + 'px;}'; //Setting content in template ninjaBanner.innerHTML = banner.innerHTML; //Garbage collection -- cgit v1.2.3 From 1ab2c2925fbf6186c8d9872392831f69c61d063d Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 15 May 2012 15:11:26 -0700 Subject: Correcting location of Ninja meta data Needs to be inside most child div. --- js/io/templates/files/animation.txt | 7 +++---- js/io/templates/files/banner.txt | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/js/io/templates/files/animation.txt b/js/io/templates/files/animation.txt index 33b45e53..8a3dbd41 100755 --- a/js/io/templates/files/animation.txt +++ b/js/io/templates/files/animation.txt @@ -2,12 +2,11 @@
- - - -
+ + +