mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
fix: reduce proxy item height
This commit is contained in:
parent
5c1ed0ec06
commit
ceec72b869
@ -98,7 +98,7 @@ const ProxyGroup = ({ group }: Props) => {
|
|||||||
|
|
||||||
{proxies.length >= 10 ? (
|
{proxies.length >= 10 ? (
|
||||||
<Virtuoso
|
<Virtuoso
|
||||||
style={{ height: "400px", marginBottom: "4px" }}
|
style={{ height: "320px", marginBottom: "4px" }}
|
||||||
totalCount={proxies.length}
|
totalCount={proxies.length}
|
||||||
itemContent={(index) => (
|
itemContent={(index) => (
|
||||||
<ProxyItem
|
<ProxyItem
|
||||||
@ -113,7 +113,7 @@ const ProxyGroup = ({ group }: Props) => {
|
|||||||
<List
|
<List
|
||||||
component="div"
|
component="div"
|
||||||
disablePadding
|
disablePadding
|
||||||
sx={{ maxHeight: "400px", overflow: "auto", mb: "4px" }}
|
sx={{ maxHeight: "320px", overflow: "auto", mb: "4px" }}
|
||||||
>
|
>
|
||||||
{proxies.map((proxy) => (
|
{proxies.map((proxy) => (
|
||||||
<ProxyItem
|
<ProxyItem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user