更新Company页面的UI为FUI风格
This commit is contained in:
@@ -935,42 +935,39 @@ const MainlineTimelineViewComponent = forwardRef(
|
|||||||
</HStack>
|
</HStack>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
{/* 主线卡片横向滚动容器 - 滚动条在顶部 */}
|
{/* 主线卡片横向滚动容器 */}
|
||||||
<Box
|
<Box
|
||||||
overflowX="auto"
|
overflowX="auto"
|
||||||
overflowY="hidden"
|
overflowY="hidden"
|
||||||
h="calc(100% - 44px)"
|
h="calc(100% - 44px)"
|
||||||
|
pb={3}
|
||||||
css={{
|
css={{
|
||||||
"&::-webkit-scrollbar": {
|
"&::-webkit-scrollbar": {
|
||||||
height: "12px",
|
height: "14px",
|
||||||
background: COLORS.scrollbarTrackBg,
|
background: COLORS.scrollbarTrackBg,
|
||||||
},
|
},
|
||||||
"&::-webkit-scrollbar-track": {
|
"&::-webkit-scrollbar-track": {
|
||||||
background: COLORS.scrollbarTrackBg,
|
background: COLORS.scrollbarTrackBg,
|
||||||
borderRadius: "6px",
|
borderRadius: "7px",
|
||||||
|
margin: "0 8px",
|
||||||
},
|
},
|
||||||
"&::-webkit-scrollbar-thumb": {
|
"&::-webkit-scrollbar-thumb": {
|
||||||
background: COLORS.scrollbarThumbBg,
|
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbBg}, #8a9bb0)`,
|
||||||
borderRadius: "6px",
|
borderRadius: "7px",
|
||||||
border: "2px solid " + COLORS.scrollbarTrackBg,
|
border: `3px solid ${COLORS.scrollbarTrackBg}`,
|
||||||
},
|
},
|
||||||
"&::-webkit-scrollbar-thumb:hover": {
|
"&::-webkit-scrollbar-thumb:hover": {
|
||||||
background: COLORS.scrollbarThumbHoverBg,
|
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbHoverBg}, #b8c5d4)`,
|
||||||
},
|
},
|
||||||
// 滚动条放在顶部
|
|
||||||
transform: "rotateX(180deg)",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<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"
|
||||||
css={{
|
|
||||||
// 内容反转回来(因为外层容器旋转了180度)
|
|
||||||
transform: "rotateX(180deg)",
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
{mainlines.map((mainline) => {
|
{mainlines.map((mainline) => {
|
||||||
const groupId =
|
const groupId =
|
||||||
|
|||||||
Reference in New Issue
Block a user