diff --git a/src/components/proxy/proxy-item-mini.tsx b/src/components/proxy/proxy-item-mini.tsx index 68fcb61..fe3f499 100644 --- a/src/components/proxy/proxy-item-mini.tsx +++ b/src/components/proxy/proxy-item-mini.tsx @@ -45,7 +45,14 @@ export const ProxyItemMini = (props: Props) => { selected={selected} onClick={() => onClick?.(proxy.name)} sx={[ - { height: 56, borderRadius: 1, pl: 1.5, pr: 1 }, + { + height: 56, + borderRadius: 1, + pl: 1.5, + pr: 1, + justifyContent: "space-between", + alignItems: "center", + }, ({ palette: { mode, primary } }) => { const bgcolor = mode === "light" @@ -95,7 +102,7 @@ export const ProxyItemMini = (props: Props) => { )} - + {delay === -2 && ( @@ -151,7 +158,7 @@ export const ProxyItemMini = (props: Props) => { // 展示已选择的icon )}