diff --git a/src/project/FileTreeView.js b/src/project/FileTreeView.js index 20b871edb17..08d6550a5fd 100644 --- a/src/project/FileTreeView.js +++ b/src/project/FileTreeView.js @@ -688,9 +688,9 @@ define(function (require, exports, module) { DOM.ins({ className: "jstree-icon" }, " "), + renameInput, nameDisplay, - childNodes, - renameInput); + childNodes); } }); diff --git a/src/styles/jsTreeTheme.less b/src/styles/jsTreeTheme.less index 10fc0507e8a..e6f583b019e 100644 --- a/src/styles/jsTreeTheme.less +++ b/src/styles/jsTreeTheme.less @@ -32,14 +32,6 @@ .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } -.jstree a { - white-space: nowrap; - text-decoration: none; - padding: 1px 2px; - margin: 0; - line-height: 16px; - height: 16px; -} .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; }