This commit is contained in:
lai
2024-01-26 14:44:20 +08:00
3 changed files with 20 additions and 3 deletions

View File

@@ -97,6 +97,23 @@ onMounted(() => {
overflow-y: auto;
height: 70%;
/* 修改滚动条的样式 */
&::-webkit-scrollbar {
width: 8px; /* 设置滚动条宽度 */
}
&::-webkit-scrollbar-track {
background-color: #101129; /* 设置滚动条轨道背景颜色 */
}
&::-webkit-scrollbar-thumb {
background-color: #28293f; /* 设置滚动条滑块颜色 */
}
&::-webkit-scrollbar-thumb:hover {
background-color: #68d8fe; /* 设置鼠标悬停时滚动条滑块颜色 */
}
& .row {
line-height: 1.05;
padding: 0.5rem 1.5rem;