更新Company页面的UI为FUI风格

This commit is contained in:
2025-12-24 12:55:47 +08:00
parent 9b969eb97e
commit 272a6002bb

View File

@@ -935,26 +935,29 @@ const MainlineTimelineViewComponent = forwardRef(
</HStack> </HStack>
</Flex> </Flex>
{/* 主线卡片横向滚动容器 */} {/* 主线卡片横向滚动容器 - 使用 column-reverse 让滚动条在顶部 */}
<Box <Box
h="calc(100% - 44px)"
display="flex"
flexDirection="column-reverse"
>
<Box
flex="1"
overflowX="auto" overflowX="auto"
overflowY="hidden" overflowY="hidden"
h="calc(100% - 44px)"
pb={3}
css={{ css={{
"&::-webkit-scrollbar": { "&::-webkit-scrollbar": {
height: "14px", height: "12px",
background: COLORS.scrollbarTrackBg, background: COLORS.scrollbarTrackBg,
}, },
"&::-webkit-scrollbar-track": { "&::-webkit-scrollbar-track": {
background: COLORS.scrollbarTrackBg, background: COLORS.scrollbarTrackBg,
borderRadius: "7px", borderRadius: "6px",
margin: "0 8px",
}, },
"&::-webkit-scrollbar-thumb": { "&::-webkit-scrollbar-thumb": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbBg}, #8a9bb0)`, background: `linear-gradient(90deg, ${COLORS.scrollbarThumbBg}, #8a9bb0)`,
borderRadius: "7px", borderRadius: "6px",
border: `3px solid ${COLORS.scrollbarTrackBg}`, border: `2px solid ${COLORS.scrollbarTrackBg}`,
}, },
"&::-webkit-scrollbar-thumb:hover": { "&::-webkit-scrollbar-thumb:hover": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbHoverBg}, #b8c5d4)`, background: `linear-gradient(90deg, ${COLORS.scrollbarThumbHoverBg}, #b8c5d4)`,
@@ -964,7 +967,6 @@ const MainlineTimelineViewComponent = forwardRef(
<HStack <HStack
spacing={3} spacing={3}
p={3} p={3}
pb={0}
align="stretch" align="stretch"
h="100%" h="100%"
minW="max-content" minW="max-content"
@@ -995,6 +997,7 @@ const MainlineTimelineViewComponent = forwardRef(
</HStack> </HStack>
</Box> </Box>
</Box> </Box>
</Box>
); );
} }
); );