mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-29 00:07:18 +00:00
[Update] tree出现滚动条
This commit is contained in:
parent
c25335cf95
commit
bae4387068
@ -32,8 +32,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<div class="ibox treebox float-e-margins" style="overflow:auto;">
|
||||||
<div class="ibox float-e-margins">
|
|
||||||
<div class="ibox-content mailbox-content" style="padding-top: 0;padding-left: 1px">
|
<div class="ibox-content mailbox-content" style="padding-top: 0;padding-left: 1px">
|
||||||
<div class="file-manager" id="tree-node-id">
|
<div class="file-manager" id="tree-node-id">
|
||||||
<div id="{% block treeID %}nodeTree{% endblock %}" class="ztree">
|
<div id="{% block treeID %}nodeTree{% endblock %}" class="ztree">
|
||||||
@ -306,6 +305,7 @@ function defaultCallback(action) {
|
|||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
$('.treebox').css('height', window.innerHeight - 180);
|
||||||
})
|
})
|
||||||
.on('click', '.btn-show-current-asset', function(){
|
.on('click', '.btn-show-current-asset', function(){
|
||||||
hideRMenu();
|
hideRMenu();
|
||||||
@ -322,4 +322,4 @@ $(document).ready(function () {
|
|||||||
location.reload();
|
location.reload();
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user