From: Jan Szejko Date: Thu, 30 Mar 2017 11:30:31 +0000 (+0200) Subject: better placement of the comment tutorial X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/567b5d347d2df4f0aea88996a78cb4b457802126?ds=inline better placement of the comment tutorial --- diff --git a/src/editor/modules/documentCanvas/canvas/gutter.js b/src/editor/modules/documentCanvas/canvas/gutter.js index 73a46e0..00b118e 100644 --- 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 = $('
'); var tutorialHolder = $('
').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($('
/').css('height', '0').append(tutorialHolder)); };