diff options
author | Jose Antonio Marquez | 2012-05-15 14:59:22 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-15 14:59:22 -0700 |
commit | 08935db8b1eca984bd384ef2b8db8ebba9e50091 (patch) | |
tree | 112dfb8427b7ca3c24fff09773408370f003bdea /js/document/views | |
parent | 374ab6d8980b810a1c943b14a1aea07cb85389ad (diff) | |
download | ninja-08935db8b1eca984bd384ef2b8db8ebba9e50091.tar.gz |
Fixing overflow on open for template documents
Diffstat (limited to 'js/document/views')
-rwxr-xr-x | js/document/views/design.js | 2 |
1 files changed, 1 insertions, 1 deletions
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, { | |||
177 | } | 177 | } |
178 | } | 178 | } |
179 | //Adjusting margin per size of document | 179 | //Adjusting margin per size of document |
180 | 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;}'; | 180 | 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;}'; |
181 | //Setting content in template | 181 | //Setting content in template |
182 | ninjaBanner.innerHTML = banner.innerHTML; | 182 | ninjaBanner.innerHTML = banner.innerHTML; |
183 | //Garbage collection | 183 | //Garbage collection |