瀏覽代碼

fix: reduce proxy item height

GyDi 3 年之前
父節點
當前提交
08587d8f2f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/proxy-group.tsx

+ 2 - 2
src/components/proxy-group.tsx

@@ -98,7 +98,7 @@ const ProxyGroup = ({ group }: Props) => {
 
         {proxies.length >= 10 ? (
           <Virtuoso
-            style={{ height: "400px", marginBottom: "4px" }}
+            style={{ height: "320px", marginBottom: "4px" }}
             totalCount={proxies.length}
             itemContent={(index) => (
               <ProxyItem
@@ -113,7 +113,7 @@ const ProxyGroup = ({ group }: Props) => {
           <List
             component="div"
             disablePadding
-            sx={{ maxHeight: "400px", overflow: "auto", mb: "4px" }}
+            sx={{ maxHeight: "320px", overflow: "auto", mb: "4px" }}
           >
             {proxies.map((proxy) => (
               <ProxyItem