mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 09:18:32 +08:00
feat: use paper for list bg
This commit is contained in:
1 parent
1a51062aa1
commit
7cf8fd800f
4 files changed
+17
-11
No files matched your search
+8
-6
@@ -1,5 +1,5 @@
|
||||
import useSWR from "swr";
|
||||
import { Box, List, Typography } from "@mui/material";
|
||||
import { Box, List, Paper, Typography } from "@mui/material";
|
||||
import services from "../services";
|
||||
import ProxyGroup from "../components/proxy-group";
|
||||
|
||||
@@ -14,11 +14,13 @@ const ProxyPage = () => {
|
||||
</Typography>
|
||||
|
||||
{groups.length > 0 && (
|
||||
<List sx={{ borderRadius: 1, boxShadow: 2 }}>
|
||||
{groups.map((group) => (
|
||||
<ProxyGroup key={group.name} group={group} />
|
||||
))}
|
||||
</List>
|
||||
<Paper sx={{ borderRadius: 1, boxShadow: 2 }}>
|
||||
<List>
|
||||
{groups.map((group) => (
|
||||
<ProxyGroup key={group.name} group={group} />
|
||||
))}
|
||||
</List>
|
||||
</Paper>
|
||||
)}
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user