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={{ css={{
overscrollBehavior: 'contain', overscrollBehavior: 'contain',
'&::-webkit-scrollbar': { '&::-webkit-scrollbar': {
width: '4px', width: '1px',
}, },
'&::-webkit-scrollbar-track': { '&::-webkit-scrollbar-track': {
background: 'transparent', background: scrollbarTrackBg,
},
'&::-webkit-scrollbar-thumb': {
background: 'transparent',
borderRadius: '10px', borderRadius: '10px',
}, },
'&:hover::-webkit-scrollbar-thumb': { '&::-webkit-scrollbar-thumb': {
background: scrollbarThumbBg, background: scrollbarThumbBg,
borderRadius: '10px',
}, },
'&:hover::-webkit-scrollbar-thumb:hover': { '&::-webkit-scrollbar-thumb:hover': {
background: scrollbarThumbHoverBg, background: scrollbarThumbHoverBg,
}, },
}} }}