style: 增加 Tab 内表格滚动条样式

This commit is contained in:
Argo-Tianyi 2021-12-19 19:17:24 +08:00
parent fa3374a492
commit ab8508a0cb
1 changed files with 6 additions and 3 deletions

View File

@ -46,17 +46,20 @@
scrollbar-width: thin; scrollbar-width: thin;
} }
.tabs-body::-webkit-scrollbar { .tabs-body::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px height: 6px
} }
.tabs-body::-webkit-scrollbar-thumb { .tabs-body::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb {
border-radius: 3px; border-radius: 3px;
background-color: rgba(0,0,0,0.2); background-color: rgba(0,0,0,0.2);
} }
.tabs-body::-webkit-scrollbar-thumb:hover { .tabs-body::-webkit-scrollbar-thumb:hover,
.table-scroll::-webkit-scrollbar-thumb:hover {
background-color: rgba(0,0,0,0.3); background-color: rgba(0,0,0,0.3);
} }