mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 04:38:42 -06:00
Slightly Shrunk Navigation Menu Text Size
This commit is contained in:
@@ -26,8 +26,8 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
const [expandedNav, setExpandedNav] = useState({
|
const [expandedNav, setExpandedNav] = useState({
|
||||||
sites: true,
|
sites: true,
|
||||||
devices: true,
|
devices: true,
|
||||||
filters: true,
|
automation: true,
|
||||||
automation: true
|
filters: true
|
||||||
});
|
});
|
||||||
|
|
||||||
const NavItem = ({ icon, label, pageKey, indent = 0 }) => {
|
const NavItem = ({ icon, label, pageKey, indent = 0 }) => {
|
||||||
@@ -86,7 +86,7 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
)}
|
)}
|
||||||
<ListItemText
|
<ListItemText
|
||||||
primary={label}
|
primary={label}
|
||||||
primaryTypographyProps={{ fontSize: "0.95rem", fontWeight: active ? 600 : 400 }}
|
primaryTypographyProps={{ fontSize: "0.75rem", fontWeight: active ? 600 : 400 }}
|
||||||
/>
|
/>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
);
|
);
|
||||||
@@ -138,7 +138,7 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{ fontSize: "0.9rem", color: "#58a6ff" }}>
|
<Typography sx={{ fontSize: "0.85rem", color: "#58a6ff" }}>
|
||||||
<b>Sites</b>
|
<b>Sites</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
@@ -182,7 +182,7 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{ fontSize: "0.9rem", color: "#58a6ff" }}>
|
<Typography sx={{ fontSize: "0.85rem", color: "#58a6ff" }}>
|
||||||
<b>Devices</b>
|
<b>Devices</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
@@ -227,7 +227,7 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{ fontSize: "0.9rem", color: "#58a6ff" }}>
|
<Typography sx={{ fontSize: "0.85rem", color: "#58a6ff" }}>
|
||||||
<b>Automation</b>
|
<b>Automation</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
@@ -275,7 +275,7 @@ function NavigationSidebar({ currentPage, onNavigate }) {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{ fontSize: "0.9rem", color: "#58a6ff" }}>
|
<Typography sx={{ fontSize: "0.85rem", color: "#58a6ff" }}>
|
||||||
<b>Filters & Groups</b>
|
<b>Filters & Groups</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
|
Reference in New Issue
Block a user