This commit is contained in:
TimSpan 2024-12-27 15:34:08 +08:00
parent df4e46b43c
commit b484dfef94
2 changed files with 16 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1444,7 +1444,21 @@ onMounted(() => {
margin-top: 10px;
height: 70%;
overflow: auto;
// position: absolute;
scrollbar-width: auto; /* Firefox 使用系统默认滚动条 */
scrollbar-color: auto; /* 滚动条颜色恢复默认 */
}
/* Webkit浏览器Chrome、Safari重置滚动条样式 */
.scrollContainer::-webkit-scrollbar {
width: 15px; /* 使用浏览器默认宽度 */
}
.scrollContainer::-webkit-scrollbar-track {
background: transparent; /* 轨道透明,保持默认 */
}
.scrollContainer::-webkit-scrollbar-thumb {
background: auto; /* 滑块颜色恢复默认 */
}
.slide-fade-enter-active {
transition: all 0.3s linear;