Explorar el Código

fix: reduce proxy item height

GyDi hace 3 años
padre
commit
08587d8f2f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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