fnp
/
fnpeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c29d2f9
)
editor: canvas gutter - fix dimensions
author
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 27 May 2014 10:46:31 +0000
(12:46 +0200)
committer
Aleksander Łukasz
<aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 28 May 2014 12:45:59 +0000
(14:45 +0200)
src/editor/modules/documentCanvas/canvas/canvas.less
patch
|
blob
|
history
src/editor/modules/documentCanvas/canvas/gutter.less
patch
|
blob
|
history
src/editor/modules/documentCanvas/documentCanvas.less
patch
|
blob
|
history
diff --git
a/src/editor/modules/documentCanvas/canvas/canvas.less
b/src/editor/modules/documentCanvas/canvas/canvas.less
index
934aff8
..
b594247
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/canvas.less
+++ b/
src/editor/modules/documentCanvas/canvas/canvas.less
@@
-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;
diff --git
a/src/editor/modules/documentCanvas/canvas/gutter.less
b/src/editor/modules/documentCanvas/canvas/gutter.less
index
f34f4eb
..
b6747a2
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/gutter.less
+++ b/
src/editor/modules/documentCanvas/canvas/gutter.less
@@
-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%);
diff --git
a/src/editor/modules/documentCanvas/documentCanvas.less
b/src/editor/modules/documentCanvas/documentCanvas.less
index
1297d73
..
541eca2
100644
(file)
--- 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;
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;