From: Aleksander Ɓukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Date: Tue, 27 May 2014 10:46:31 +0000 (+0200)
Subject: editor: canvas gutter - fix dimensions
X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/add1f0df981b16a8c55d89089b2f338f77ae77b4?ds=inline

editor: canvas gutter - fix dimensions
---

diff --git a/src/editor/modules/documentCanvas/canvas/canvas.less b/src/editor/modules/documentCanvas/canvas/canvas.less
index 934aff8..b594247 100644
--- a/src/editor/modules/documentCanvas/canvas/canvas.less
+++ b/src/editor/modules/documentCanvas/canvas/canvas.less
@@ -1,6 +1,6 @@
 .view-table {
     display: table;
-    width: 96%;
+    width: 100%;
     
     .view-row {
         display: table-row;
diff --git a/src/editor/modules/documentCanvas/canvas/gutter.less b/src/editor/modules/documentCanvas/canvas/gutter.less
index f34f4eb..b6747a2 100644
--- a/src/editor/modules/documentCanvas/canvas/gutter.less
+++ b/src/editor/modules/documentCanvas/canvas/gutter.less
@@ -1,10 +1,11 @@
 .gutter {
     display: table-cell;
+    width: calc(~'100% - 800px');
+    min-width: 250px;
 }
 
 .gutter-box {
     border: 1px solid #ddd;
-    width: 100%;
     padding: 5px 10px;
     position: relative;
     background-color: darken(#FFFCB7, 15%);
diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less
index 1297d73..541eca2 100644
--- a/src/editor/modules/documentCanvas/documentCanvas.less
+++ b/src/editor/modules/documentCanvas/documentCanvas.less
@@ -14,7 +14,7 @@
     border-style: solid;
     border-width: 1px;
     float:left;
-    width: 100%;
+    width: calc(~'100% - 20px');
     height: 100%;
     overflow-y: scroll;
     padding: 0 10px;