Skip to content
New issue

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

文章目录显示不全 #10

Closed
mritd opened this issue Oct 8, 2016 · 6 comments
Closed

文章目录显示不全 #10

mritd opened this issue Oct 8, 2016 · 6 comments
Assignees
Labels

Comments

@mritd
Copy link
Contributor

mritd commented Oct 8, 2016

文章目录太多会导致显示不全,如下所示

_023

@mzlogin
Copy link
Owner

mzlogin commented Oct 8, 2016

收到~确实会有这个问题。我稍后想想办法。多谢!

@mritd
Copy link
Contributor Author

mritd commented Oct 8, 2016

恩 好的 ,感谢

@mzlogin
Copy link
Owner

mzlogin commented Oct 8, 2016

给超长的目录添加了滚动条,更改见:

@7c38d535703fc49f12b47a74fc2a2cde7eba9255

会自动将目录栏高度调整到页面可见部分高度,鼠标可以放在上面控制滚动。

目前不是很完美,文章内容的滚动无法联动 TOC 滚动,没太想好怎么做,记一个 TODO 稍后实现,详见 #11

@mzlogin mzlogin self-assigned this Oct 8, 2016
@mzlogin mzlogin added the bug label Oct 8, 2016
@mzlogin mzlogin closed this as completed Oct 8, 2016
@mritd
Copy link
Contributor Author

mritd commented Oct 9, 2016

好的 谢谢

@mzlogin
Copy link
Owner

mzlogin commented Oct 9, 2016

@1c159c76bd2ab2f81b3af888ecfe5eaf99bdbad3

修复了在 Windows 10 / Chrome 53 环境下,页面滚动到目录跟随页面移动时,目录栏滚动条已经隐藏,但目录栏的开始部分内容无法显示的问题。

image

修复方法为当目录跟随页面移动时,目录块自动滚动到它自身的顶部。

@mritd
Copy link
Contributor Author

mritd commented Oct 9, 2016

感谢 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants