Adjust styles
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user