From 4e07d5b5633afa43a6f40378807648d02a643159 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Mon, 5 Nov 2012 05:52:29 +0000 Subject: [PATCH] Site edit UI bugfix. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12119 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/css/sitemap.css | 2 +- modules/menu/tpl/js/jquery.jstree.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/menu/tpl/css/sitemap.css b/modules/menu/tpl/css/sitemap.css index 6c5ab4160..dfbe39dde 100644 --- a/modules/menu/tpl/css/sitemap.css +++ b/modules/menu/tpl/css/sitemap.css @@ -27,7 +27,7 @@ body>.x{max-width:none !important} .mapi li>ul{margin:0} .mapi a{text-decoration:none} .mapi>ul{padding:1px} -.mapi._node_renaming a+input{margin-left:-16px;z-index:2} +.mapi .jstree-rename-input{margin-left:-16px;z-index:2} /* Root */ .mapi>ul>li{margin-top:30px;position:relative} .mapi>ul>li:before{content:"";display:block;border-top:1px dotted #ccc;position:relative;top:-15px} diff --git a/modules/menu/tpl/js/jquery.jstree.js b/modules/menu/tpl/js/jquery.jstree.js index b9a3402fa..784a88522 100644 --- a/modules/menu/tpl/js/jquery.jstree.js +++ b/modules/menu/tpl/js/jquery.jstree.js @@ -1274,10 +1274,11 @@ "css" : { "padding" : "0 4px", "border" : "1px solid silver", + "borderRadius" : "3px", "position" : "absolute", "left" : (rtl ? "auto" : (w1 + w2) + "px"), "right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"), - "top" : "1px", + "top" : "0", "height" : (this.data.core.li_height - 2) + "px", "lineHeight" : (this.data.core.li_height - 2) + "px", "width" : "200px" // will be set a bit further down