💄 fix: toc style

This commit is contained in:
shenyu 2021-06-28 14:27:23 +08:00
parent f1c3083f09
commit 72c4fd9761
2 changed files with 19 additions and 3 deletions

View File

@ -10,7 +10,23 @@
border-radius 8px border-radius 8px
>.toc-list >.toc-list
position relative position relative
overflow hidden overflow-x hidden
overflow-y scroll
max-height 70vh
>.toc-list::-webkit-scrollbar
width 4px
  >.toc-list::-webkit-scrollbar-thumb
border-radius 10px
-webkit-box-shadow inset 0 0 5px rgba(0,0,0,0.2)
background rgba(0,0,0,0.2)
  >.toc-list::-webkit-scrollbar-track
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2)
border-radius: 0
background: rgba(0,0,0,0.1)
.toc-list .toc-list

File diff suppressed because one or more lines are too long