feat: auto proxy layout column

This commit is contained in:
GyDi
2022-12-14 15:07:51 +08:00
parent ffe2557e84
commit 90c9b87f8d
6 changed files with 69 additions and 40 deletions

View File

@@ -110,6 +110,7 @@ export const ProxyRender = (props: RenderProps) => {
return (
<Box
sx={{
height: 56,
display: "grid",
gap: 1,
pl: indent ? 4 : 2,
@@ -123,7 +124,7 @@ export const ProxyRender = (props: RenderProps) => {
key={item.key + proxy.name}
groupName={group.name}
proxy={proxy!}
selected={group.now === proxy?.name}
selected={group.now === proxy.name}
showType={headState?.showType}
onClick={() => onChangeProxy(group, proxy!)}
/>