Sytle: UI improvement & Update Readme

This commit is contained in:
wonfen committed 2024-03-10 07:00:24 +08:00
1 parent aa77433523
commit c0df368dc6
11 files changed
+38 -50

No files matched your search

+3 -3
View File
@@ -26,10 +26,10 @@ export const LayoutItem = (props: Props) => {
sx={[
{
borderRadius: 2,
marginLeft: 1.5,
marginLeft: 1.25,
paddingLeft: 1.5,
paddingRight: 1,
marginRight: 1.5,
marginRight: 1.25,
textAlign: "left",
"& .MuiListItemText-primary": {
color: "text.primary",
@@ -54,7 +54,7 @@ export const LayoutItem = (props: Props) => {
>
<ListItemIcon>{icon}</ListItemIcon>
<ListItemText
sx={{ textAlign: "center", marginLeft: "-20px" }}
sx={{ textAlign: "center", marginLeft: "-35px" }}
primary={children}
/>
</ListItemButton>
+1 -1
View File
@@ -89,7 +89,7 @@ export const LayoutTraffic = () => {
return (
<Box
width="188px"
width="150px"
position="relative"
onClick={trafficRef.current?.toggleStyle}
>