mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
chore: update
This commit is contained in:
parent
c69978c9fd
commit
b7f7a82ea9
@ -4,7 +4,6 @@ import {
|
|||||||
ListItemButton,
|
ListItemButton,
|
||||||
ListItemText,
|
ListItemText,
|
||||||
ListItemIcon,
|
ListItemIcon,
|
||||||
Avatar,
|
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
import { useMatch, useResolvedPath, useNavigate } from "react-router-dom";
|
import { useMatch, useResolvedPath, useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
@ -28,7 +27,7 @@ export const LayoutItem = (props: Props) => {
|
|||||||
{
|
{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
marginLeft: 1.5,
|
marginLeft: 1.5,
|
||||||
paddingLeft: 1,
|
paddingLeft: 1.5,
|
||||||
paddingRight: 1,
|
paddingRight: 1,
|
||||||
marginRight: 1.5,
|
marginRight: 1.5,
|
||||||
textAlign: "left",
|
textAlign: "left",
|
||||||
@ -53,8 +52,11 @@ export const LayoutItem = (props: Props) => {
|
|||||||
]}
|
]}
|
||||||
onClick={() => navigate(to)}
|
onClick={() => navigate(to)}
|
||||||
>
|
>
|
||||||
<ListItemIcon sx={{ marginRight: -0.5 }}>{icon}</ListItemIcon>
|
<ListItemIcon>{icon}</ListItemIcon>
|
||||||
<ListItemText sx={{ textAlign: "center" }} primary={children} />
|
<ListItemText
|
||||||
|
sx={{ textAlign: "center", marginLeft: "-20px" }}
|
||||||
|
primary={children}
|
||||||
|
/>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user