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

文章太长自动生成的目录无法滚动 #140

Open
Fanduzi opened this issue May 2, 2020 · 3 comments
Open

文章太长自动生成的目录无法滚动 #140

Fanduzi opened this issue May 2, 2020 · 3 comments

Comments

@Fanduzi
Copy link

Fanduzi commented May 2, 2020

已经git pull到最新版本
image

http://fuxkdb.com/2020/05/02/2020-05-02-ClickHouse%E5%A4%9A%E5%AE%9E%E4%BE%8B%E9%83%A8%E7%BD%B2/

@arginsen
Copy link

修改文件路径: hiker/source/css/_partial/article.styl

/*  搜索,修改#toc参数,参数都缩进两位 */
#toc
  height: 76%

/*  #toc 后增加以下两个样式, 用于修改滑块、滑条样式 */
#toc::-webkit-scrollbar
  background-color: #ece9e9
  -webkit-border-radius: 2em
  -moz-border-radius: 2em
  border-radius: 2px
  width: 5px

#toc::-webkit-scrollbar-thumb
  border-radius: 4px
  background: rgba(0,0,0,0.3)
  -webkit-box-shadow: inset 0 0 6px RGB(243, 243, 244)

@Fanduzi
Copy link
Author

Fanduzi commented May 18, 2020

感谢大佬, 好使啦 ღ( ´・ᴗ・` )比心

@iTimeTraveler
Copy link
Owner

@arginsen 大佬要是有空的话,辛苦大佬提个PR吧,非常感谢~

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

No branches or pull requests

3 participants