fix: 纵向模式右侧详情滚动条改为常显

- 从 hover 显示改为始终显示 (1px)
- 用户反馈更倾向于始终可见的滚动条
- 提供持续的滚动位置反馈

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-11-05 09:51:13 +08:00
parent c5b8fe91c3
commit 41baf16d45

View File

@@ -319,19 +319,17 @@ const EventScrollList = ({
css={{
overscrollBehavior: 'contain',
'&::-webkit-scrollbar': {
width: '4px',
width: '1px',
},
'&::-webkit-scrollbar-track': {
background: 'transparent',
},
'&::-webkit-scrollbar-thumb': {
background: 'transparent',
background: scrollbarTrackBg,
borderRadius: '10px',
},
'&:hover::-webkit-scrollbar-thumb': {
'&::-webkit-scrollbar-thumb': {
background: scrollbarThumbBg,
borderRadius: '10px',
},
'&:hover::-webkit-scrollbar-thumb:hover': {
'&::-webkit-scrollbar-thumb:hover': {
background: scrollbarThumbHoverBg,
},
}}