滚动条样式更新
This commit is contained in:
@@ -936,12 +936,13 @@ const MainlineTimelineViewComponent = forwardRef(
|
||||
|
||||
{/* 横向滚动容器 - 滚动条在卡片上方 */}
|
||||
<Box
|
||||
overflowX="auto"
|
||||
overflowX="scroll"
|
||||
overflowY="visible"
|
||||
pb={2}
|
||||
css={{
|
||||
sx={{
|
||||
"&::-webkit-scrollbar": {
|
||||
height: "10px",
|
||||
display: "block",
|
||||
},
|
||||
"&::-webkit-scrollbar-track": {
|
||||
background: COLORS.scrollbarTrackBg,
|
||||
@@ -950,10 +951,13 @@ const MainlineTimelineViewComponent = forwardRef(
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
background: COLORS.scrollbarThumbBg,
|
||||
borderRadius: "5px",
|
||||
minWidth: "40px",
|
||||
},
|
||||
"&::-webkit-scrollbar-thumb:hover": {
|
||||
background: COLORS.scrollbarThumbHoverBg,
|
||||
},
|
||||
scrollbarWidth: "thin",
|
||||
scrollbarColor: `${COLORS.scrollbarThumbBg} ${COLORS.scrollbarTrackBg}`,
|
||||
}}
|
||||
>
|
||||
{/* 主线卡片横向排列容器 */}
|
||||
@@ -962,7 +966,8 @@ const MainlineTimelineViewComponent = forwardRef(
|
||||
p={3}
|
||||
pt={1}
|
||||
align="stretch"
|
||||
w="max-content"
|
||||
display="inline-flex"
|
||||
minW="max-content"
|
||||
>
|
||||
{mainlines.map((mainline) => {
|
||||
const groupId =
|
||||
|
||||
Reference in New Issue
Block a user