From ac3b074d66f4f2555a9cdbc04a99a5101fde6580 Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Sun, 10 Mar 2024 21:56:49 +0800 Subject: [PATCH] chore: proxy group header height --- src/components/proxy/proxy-item-mini.tsx | 1 - src/components/proxy/proxy-render.tsx | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/proxy/proxy-item-mini.tsx b/src/components/proxy/proxy-item-mini.tsx index 26cfe70b..bc6ad8d6 100644 --- a/src/components/proxy/proxy-item-mini.tsx +++ b/src/components/proxy/proxy-item-mini.tsx @@ -58,7 +58,6 @@ export const ProxyItemMini = (props: Props) => { }, ({ palette: { mode, primary } }) => { const bgcolor = mode === "light" ? "#ffffff" : "#24252f"; - const color = mode === "light" ? primary.main : primary.light; const showDelay = delay > 0; const selectColor = mode === "light" ? primary.main : primary.light; diff --git a/src/components/proxy/proxy-render.tsx b/src/components/proxy/proxy-render.tsx index d2f4a592..38c6ed45 100644 --- a/src/components/proxy/proxy-render.tsx +++ b/src/components/proxy/proxy-render.tsx @@ -89,8 +89,10 @@ export const ProxyRender = (props: RenderProps) => { pt: "2px", }} > - {group.type} - {group.now} + + {group.type} + {group.now} + } secondaryTypographyProps={{