chore: adjust proxy group font style

This commit is contained in:
MystiPanda 2024-03-10 21:52:40 +08:00
parent 7ce8597c25
commit 5e863a87dc

View File

@ -90,14 +90,7 @@ export const ProxyRender = (props: RenderProps) => {
}} }}
> >
<StyledTypeBox>{group.type}</StyledTypeBox> <StyledTypeBox>{group.type}</StyledTypeBox>
<StyledSubtitle <StyledSubtitle>{group.now}</StyledSubtitle>
sx={{
color: isDark ? "#ffffff" : "#8c8c8c",
fontWeight: "600",
}}
>
{group.now}
</StyledSubtitle>
</ListItemTextChild> </ListItemTextChild>
} }
secondaryTypographyProps={{ secondaryTypographyProps={{
@ -194,6 +187,7 @@ const StyledPrimary = styled("span")`
const StyledSubtitle = styled("span")` const StyledSubtitle = styled("span")`
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
color: text.secondary;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
`; `;