feat: optimize article directory (#477)

pull/480/head^2
Seaton Jiang 2022-02-21 19:14:03 +08:00
parent 4ae9d6b3bb
commit 8336803e0f
No known key found for this signature in database
GPG Key ID: B79682F6FE8D30E3
1 changed files with 17 additions and 2 deletions

View File

@ -2148,12 +2148,27 @@ ol {
}
.k-main .sidebar .w-toc .item {
margin-left: 10px;
overflow-x: hidden;
overflow-y: auto;
margin-left: 15px;
padding-left: 5px;
max-height: 380px;
}
.k-main .sidebar .w-toc .item::-webkit-scrollbar {
width: 4px;
}
.k-main .sidebar .w-toc .item::-webkit-scrollbar-track {
border: 0;
}
.k-main .sidebar .w-toc .item::-webkit-scrollbar-thumb {
background-color: #dddddd;
}
.k-main .sidebar .w-toc .item .ul-toc {
position: relative;
margin: 10px 0;
padding: 20px 10px 20px 0;
border-left: 1px solid #eee;
}