From: Aleksander Ɓukasz Date: Mon, 26 May 2014 10:46:40 +0000 (+0200) Subject: editor: refactoring - remove old unnecessary markup X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/41e72aeb83a24604c20aa896c18d9865955446c0?ds=inline;hp=bbb810b9417335d3a6fbfeb300de8f12e4cd091a editor: refactoring - remove old unnecessary markup --- diff --git a/src/editor/modules/documentCanvas/documentCanvas.js b/src/editor/modules/documentCanvas/documentCanvas.js index 8742aef..651788e 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.js +++ b/src/editor/modules/documentCanvas/documentCanvas.js @@ -70,7 +70,7 @@ return function(sandbox) { }, setDocument: function(wlxmlDocument) { canvas.loadWlxmlDocument(wlxmlDocument); - canvasWrapper.find('#rng-module-documentCanvas-content').empty().append(canvas.view()); + canvasWrapper.find('#rng-module-documentCanvas-contentWrapper').empty().append(canvas.view()); }, highlightElement: function(node) { canvas.toggleElementHighlight(node, true); diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less index f2e714f..d1042c2 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.less +++ b/src/editor/modules/documentCanvas/documentCanvas.less @@ -8,11 +8,6 @@ height: 100%; } -#rng-module-documentCanvas-mainArea { - height: 100%; - margin-bottom: 20px; -} - #rng-module-documentCanvas-contentWrapper { border-color: #ddd; border-style: solid; diff --git a/src/editor/modules/documentCanvas/template.html b/src/editor/modules/documentCanvas/template.html index 63dc331..7a32c16 100644 --- a/src/editor/modules/documentCanvas/template.html +++ b/src/editor/modules/documentCanvas/template.html @@ -1,7 +1,4 @@
-
-
-
-
+
\ No newline at end of file