优化滚动条

This commit is contained in:
xlsea 2024-01-20 10:15:09 +08:00
parent cc6cc53d82
commit c550850cd9

View File

@ -169,6 +169,35 @@ export default {
display: flex !important;
flex-direction: column;
//
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
width: 6px;
background: rgba(#101F1C, 0.1);
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
}
::-webkit-scrollbar-thumb {
background-color: rgba(144,147,153,.5);
background-clip: padding-box;
min-height: 28px;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
transition: background-color .3s;
cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(144,147,153,.3);
}
.scroller {
height: 100%;
overflow: auto;