chore: proxy group header height

This commit is contained in:
MystiPanda 2024-03-10 21:56:49 +08:00
parent 5e863a87dc
commit 778ed62a90
2 changed files with 4 additions and 3 deletions

View File

@ -58,7 +58,6 @@ export const ProxyItemMini = (props: Props) => {
}, },
({ palette: { mode, primary } }) => { ({ palette: { mode, primary } }) => {
const bgcolor = mode === "light" ? "#ffffff" : "#24252f"; const bgcolor = mode === "light" ? "#ffffff" : "#24252f";
const color = mode === "light" ? primary.main : primary.light;
const showDelay = delay > 0; const showDelay = delay > 0;
const selectColor = mode === "light" ? primary.main : primary.light; const selectColor = mode === "light" ? primary.main : primary.light;

View File

@ -89,8 +89,10 @@ export const ProxyRender = (props: RenderProps) => {
pt: "2px", pt: "2px",
}} }}
> >
<StyledTypeBox>{group.type}</StyledTypeBox> <Box sx={{ marginTop: "2px" }}>
<StyledSubtitle>{group.now}</StyledSubtitle> <StyledTypeBox>{group.type}</StyledTypeBox>
<StyledSubtitle>{group.now}</StyledSubtitle>
</Box>
</ListItemTextChild> </ListItemTextChild>
} }
secondaryTypographyProps={{ secondaryTypographyProps={{