* revert for task #2730.
This commit is contained in:
@@ -13,6 +13,3 @@
|
||||
.dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;}
|
||||
.dropdown-list > li > a:hover,
|
||||
.dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;}
|
||||
|
||||
#treebox{position:fixed;margin-left:20px;}
|
||||
.outer.hide-side #treebox{margin-left:0px;}
|
||||
|
||||
@@ -19,10 +19,4 @@ $(document).ready(function()
|
||||
});
|
||||
setTimeout(function(){fixedTfootAction('#bugForm')}, 100);
|
||||
setTimeout(function(){fixedTheadOfList('#bugList')}, 100);
|
||||
|
||||
var treeMaxHeight = document.documentElement.clientHeight - $('#header').height() - $('#featurebar').height() - $('#footer').height() - $('#treebox .side-body .panel-heading').height() - 120;
|
||||
if($('#treebox').height() > $('#bugList').height()) treeMaxHeight -= 20;
|
||||
$('#treebox .side-body .panel-body').children().each(function(){if(!$(this).hasClass('tree')) treeMaxHeight -= $(this).height()});
|
||||
$('#treebox .tree').css({'max-height':treeMaxHeight, 'overflow-y': 'auto', 'overflow-x':'hidden'})
|
||||
if(moduleID > 0)$('#treebox .tree').scrollTop($('#treebox .tree #module' + moduleID).offset().top - $('#treebox .tree li[data-id="1"]').offset().top);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user