fix: 纵向模式右侧详情滚动条改为常显
- 从 hover 显示改为始终显示 (1px) - 用户反馈更倾向于始终可见的滚动条 - 提供持续的滚动位置反馈 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user