Merge pull request #2835 from jumpserver/pr@dev@perf_ztree_overflow

perf: 优化 ztree overflow
This commit is contained in:
老广
2023-02-28 18:19:57 +08:00
committed by GitHub

View File

@@ -337,6 +337,13 @@ export default {
</script>
<style lang='scss' scoped>
::-webkit-scrollbar-corner {
background: transparent;
}
::-webkit-scrollbar-track:horizontal {
background: #FFFFFF;
border-radius: 10px;
}
div.rMenu {
position: absolute;
visibility: hidden;
@@ -413,8 +420,7 @@ export default {
>>> .ztree {
overflow: auto;
background-color: transparent;
max-height: calc(100vh - 220px);
min-height: 500px;
height: calc(100vh - 237px);
li {
background-color: transparent !important;