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
你好,在我的 icarus 主题 3.0.1 版本下:
当文章比较长的时候,如果设置整个边栏都可以滚动的话,当阅读到文章中后部的时候,目录栏已经滚动到上面去了,看不见了;如果设置边栏固定的话,在阅读文章前面的时候,又无法预览整个目录。
所以想问一下,能否实现像 掘金 或者 NexT 主题 这样的,目录栏可以单独滚动、阅读文章的当前位置能在目录中定位的效果吗?
参考了 #673 和 #730 中的做法,效果不是很好。
The text was updated successfully, but these errors were encountered:
feat(widget): toc expand on smooth scroll
a42c10a
阅读文章的当前位置能在目录中定位 https://github.com/ppoffice/hexo-component-inferno/releases/tag/0.6.0 Demo: https://ppoffice.github.io/hexo-theme-icarus/Configuration/icarus%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97-%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE/
目录栏单独滚动 请在CSS/Stylus中设置#toc元素的max-height和overflow-y: scroll
#toc
max-height
overflow-y: scroll
Sorry, something went wrong.
No branches or pull requests
你好,在我的 icarus 主题 3.0.1 版本下:
当文章比较长的时候,如果设置整个边栏都可以滚动的话,当阅读到文章中后部的时候,目录栏已经滚动到上面去了,看不见了;如果设置边栏固定的话,在阅读文章前面的时候,又无法预览整个目录。
所以想问一下,能否实现像 掘金 或者 NexT 主题 这样的,目录栏可以单独滚动、阅读文章的当前位置能在目录中定位的效果吗?
参考了 #673 和 #730 中的做法,效果不是很好。
The text was updated successfully, but these errors were encountered: