Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 6185a22

Browse files
committed
Merge pull request #2553 from WebsiteDeveloper/master
Fixed: #277
2 parents 6582ee6 + 5794a10 commit 6185a22

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/styles/jsTreeTheme.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,13 @@ ins.jstree-icon {
126126
.jstree-brackets .jstree-locked a { color:silver; cursor:default; }
127127

128128
.jstree-brackets .jstree-rename-input {
129+
border: 1px solid silver;
129130
color: black;
130131
left: 3px !important;
132+
padding: 0;
133+
position: absolute;
134+
top: 0;
135+
width: 150px;
131136
}
132137

133138
#vakata-contextmenu.jstree-brackets-context,

src/thirdparty/jstree_pre1.0_fix_1/jquery.jstree.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,15 +1275,9 @@
12751275
"class" : "jstree-rename-input",
12761276
// "size" : t.length,
12771277
"css" : {
1278-
"padding" : "0",
1279-
"border" : "1px solid silver",
1280-
"position" : "absolute",
1281-
"left" : (rtl ? "auto" : (w1 + w2 + 4) + "px"),
12821278
"right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"),
1283-
"top" : "0px",
12841279
"height" : (this.data.core.li_height - 2) + "px",
12851280
"lineHeight" : (this.data.core.li_height - 2) + "px",
1286-
"width" : "150px" // will be set a bit further down
12871281
},
12881282
"blur" : $.proxy(function () {
12891283
var i = obj.children(".jstree-rename-input"),
@@ -4549,4 +4543,4 @@
45494543
})(jQuery);
45504544
//*/
45514545

4552-
})();
4546+
})();

0 commit comments

Comments
 (0)