editor: canvas gutter - fix dimensions
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 27 May 2014 10:46:31 +0000 (12:46 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 28 May 2014 12:45:59 +0000 (14:45 +0200)
src/editor/modules/documentCanvas/canvas/canvas.less
src/editor/modules/documentCanvas/canvas/gutter.less
src/editor/modules/documentCanvas/documentCanvas.less

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