This commit is contained in:
parent
df4e46b43c
commit
b484dfef94
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue