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

@@ -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} />