Browse Source

adjust text editor toolbar position

Joscha Jaeger 10 years ago
parent
commit
0dbd59a441
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/allplatforms/classes/TextEditor.js

+ 1 - 1
src/allplatforms/classes/TextEditor.js

@@ -155,7 +155,7 @@ SC.loadPackage({ 'TextEditor': {
                     textShapeToolbar.setAttribute('data-target', '#currentEditor');
                     textShapeToolbar.style.display = 'block';
 
-                    textShapeToolbar.style.top = this.get('textEditor').offsetTop - 85 + 'px';
+                    textShapeToolbar.style.top = this.get('textEditor').offsetTop - 76 + 'px';
                     textShapeToolbar.style.left = this.get('textEditor').offsetLeft + this.get('textEditor').offsetWidth - 300 + 'px';
 
                 var editGroups = this.class.get('activeEditGroups');