diff --git a/src/components/proxy/proxy-item-mini.tsx b/src/components/proxy/proxy-item-mini.tsx index bc6ad8d6..6e099d12 100644 --- a/src/components/proxy/proxy-item-mini.tsx +++ b/src/components/proxy/proxy-item-mini.tsx @@ -122,12 +122,28 @@ export const ProxyItemMini = (props: Props) => { )} {!!proxy.provider && ( - {proxy.provider} + + {proxy.provider} + + )} + + {proxy.type} + + {proxy.udp && ( + + UDP + + )} + {proxy.xudp && ( + + XUDP + + )} + {proxy.tfo && ( + + TFO + )} - {proxy.type} - {proxy.udp && UDP} - {proxy.xudp && XUDP} - {proxy.tfo && TFO} )} @@ -200,8 +216,8 @@ const Widget = styled(Box)(({ theme: { typography } }) => ({ const TypeBox = styled(Box)(({ theme: { palette, typography } }) => ({ display: "inline-block", border: "1px solid #ccc", - borderColor: palette.mode === "light" ? "#d9d9d9" : "#424242", - color: palette.mode === "light" ? "#8c8c8c" : "#ffffff", + borderColor: "text.secondary", + color: "text.secondary", borderRadius: 4, fontSize: 10, fontFamily: typography.fontFamily, diff --git a/src/components/proxy/proxy-render.tsx b/src/components/proxy/proxy-render.tsx index 38c6ed45..6fb1c6e8 100644 --- a/src/components/proxy/proxy-render.tsx +++ b/src/components/proxy/proxy-render.tsx @@ -45,7 +45,7 @@ export const ProxyRender = (props: RenderProps) => { dense style={{ background: itembackgroundcolor, - height: "64px", + height: "100%", margin: "8px 8px", borderRadius: "8px", }} @@ -81,7 +81,6 @@ export const ProxyRender = (props: RenderProps) => { primary={{group.name}} secondary={ { > {group.type} - {group.now} + + {group.now} + } @@ -179,7 +180,7 @@ export const ProxyRender = (props: RenderProps) => { }; const StyledPrimary = styled("span")` - font-size: 14px; + font-size: 15px; font-weight: 700; line-height: 1.5; overflow: hidden; @@ -187,7 +188,7 @@ const StyledPrimary = styled("span")` white-space: nowrap; `; const StyledSubtitle = styled("span")` - font-size: 12px; + font-size: 13px; overflow: hidden; color: text.secondary; text-overflow: ellipsis;