documentation page
This commit is contained in:
@@ -602,9 +602,11 @@ function showContentPartTree (el) {
|
|||||||
$($arrow).css({rotate: '0deg'})
|
$($arrow).css({rotate: '0deg'})
|
||||||
}
|
}
|
||||||
let scroll = $(window)[0].scrollY
|
let scroll = $(window)[0].scrollY
|
||||||
$($(".left_curtain_documentation")[1]).find(".tree_documentation_container").css({height: 'fit-content'})
|
if ($(".left_curtain_documentation")[1]) {
|
||||||
maxScroll = scroll + $(".documentation_block")[0].getBoundingClientRect().bottom - $(".left_curtain_documentation")[1].offsetHeight - 172
|
$($(".left_curtain_documentation")[1]).find(".tree_documentation_container").css({height: 'fit-content'})
|
||||||
$($(".left_curtain_documentation")[1]).find(".tree_documentation_container").css({height: 'calc(100vh - 300px)'})
|
maxScroll = scroll + $(".documentation_block")[0].getBoundingClientRect().bottom - $(".left_curtain_documentation")[1].offsetHeight - 172
|
||||||
|
$($(".left_curtain_documentation")[1]).find(".tree_documentation_container").css({height: 'calc(100vh - 300px)'})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
let waitingTop = null
|
let waitingTop = null
|
||||||
let maxScroll = null
|
let maxScroll = null
|
||||||
|
|||||||
Reference in New Issue
Block a user