From 41e72aeb83a24604c20aa896c18d9865955446c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 26 May 2014 12:46:40 +0200 Subject: [PATCH 1/1] editor: refactoring - remove old unnecessary markup --- src/editor/modules/documentCanvas/documentCanvas.js | 2 +- src/editor/modules/documentCanvas/documentCanvas.less | 5 ----- src/editor/modules/documentCanvas/template.html | 5 +---- 3 files changed, 2 insertions(+), 10 deletions(-) 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 -- 2.20.1