Adjust styles

This commit is contained in:
MystiPanda
2024-03-10 11:12:54 +08:00
parent c0df368dc6
commit a5aec2d9fa
11 changed files with 73 additions and 36 deletions

View File

@@ -30,7 +30,6 @@ export const LayoutItem = (props: Props) => {
paddingLeft: 1.5,
paddingRight: 1,
marginRight: 1.25,
textAlign: "left",
"& .MuiListItemText-primary": {
color: "text.primary",
fontWeight: "700",

View File

@@ -88,11 +88,7 @@ export const LayoutTraffic = () => {
};
return (
<Box
width="150px"
position="relative"
onClick={trafficRef.current?.toggleStyle}
>
<Box position="relative" onClick={trafficRef.current?.toggleStyle}>
{trafficGraph && pageVisible && (
<div style={{ width: "100%", height: 60, marginBottom: 6 }}>
<TrafficGraph ref={trafficRef} />