fnp
/
fnpeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24e1f42
)
better placement of the comment tutorial
author
Jan Szejko
<janek37@gmail.com>
Thu, 30 Mar 2017 11:30:31 +0000
(13:30 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 30 Mar 2017 11:30:31 +0000
(13:30 +0200)
src/editor/modules/documentCanvas/canvas/gutter.js
patch
|
blob
|
history
diff --git
a/src/editor/modules/documentCanvas/canvas/gutter.js
b/src/editor/modules/documentCanvas/canvas/gutter.js
index
73a46e0
..
00b118e
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/gutter.js
+++ b/
src/editor/modules/documentCanvas/canvas/gutter.js
@@
-20,8
+20,8
@@
var GutterView = function(gutter, tutorial) {
}, this);
this.dom = $('<div class="gutter"></div>');
var tutorialHolder = $('<div/>').attr('data-toggle', 'tutorial').attr('data-tutorial', tutorial.index)
}, this);
this.dom = $('<div class="gutter"></div>');
var tutorialHolder = $('<div/>').attr('data-toggle', 'tutorial').attr('data-tutorial', tutorial.index)
- .attr('data-placement', '
bottom').attr('data-content', tutorial.text
);
- this.dom.append(
tutorialHolder
);
+ .attr('data-placement', '
left').attr('data-content', tutorial.text).css('height', '200px'
);
+ this.dom.append(
$('<div>/').css('height', '0').append(tutorialHolder)
);
};
};