refactor: app-main 弃用naive ui虚拟滚动条,改成自定义滚动条

This commit is contained in:
张传龙
2022-05-02 17:39:31 +08:00
parent 76bd414941
commit 21e0d86fcd
3 changed files with 19 additions and 12 deletions

View File

@@ -26,3 +26,17 @@ body {
opacity: 0;
transform: translateX(30px);
}
/* 滚动条样式 */
::-webkit-scrollbar {
width: 8px;
background-color: #eee;
}
::-webkit-scrollbar-thumb {
background-color: #c1c1c1;
&:hover {
background-color: #a8a8a8;
}
}