feat: overlay scrollbar

This commit is contained in:
saicaca 2023-11-08 15:26:18 +08:00
parent 569a606586
commit d918a2ef3d
1 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ function initCustomScrollbar() {
scrollbars: { scrollbars: {
theme: 'scrollbar-base scrollbar-auto py-1', theme: 'scrollbar-base scrollbar-auto py-1',
autoHide: 'move', autoHide: 'move',
autoHideDelay: 1300, autoHideDelay: 500,
autoHideSuspend: false autoHideSuspend: false
} }
}); });
@ -292,7 +292,7 @@ function initCustomScrollbar() {
scrollbars: { scrollbars: {
theme: 'scrollbar-base scrollbar-dark px-2', theme: 'scrollbar-base scrollbar-dark px-2',
autoHide: 'leave', autoHide: 'leave',
autoHideDelay: 1300, autoHideDelay: 500,
autoHideSuspend: false autoHideSuspend: false
} }
}); });