From 567b5d347d2df4f0aea88996a78cb4b457802126 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 30 Mar 2017 13:30:31 +0200 Subject: [PATCH] better placement of the comment tutorial --- src/editor/modules/documentCanvas/canvas/gutter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }; -- 2.20.1