We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with following code, we can fix the issue.
docdock/static/theme-flex/script.js @@ -170,6 +170,15 @@ jQuery(document).ready(function() { }); $('article a:not(:has(img)):not(.btn)').addClass('highlight'); + + // Fix the scroll's position for the actived content node. + try { + if( $('.menu .active').offset() ) { + var offset = $('.menu .active').offset().top - $('header').height() - 50; + $('article > aside').scrollTop(offset); + } + } catch (e) {} + });
The text was updated successfully, but these errors were encountered:
Hi @kanghaiyang,
Could you please expand more what exactly is the issue and how to repeat it?
Thanks!
Sorry, something went wrong.
No branches or pull requests
with following code, we can fix the issue.
The text was updated successfully, but these errors were encountered: