mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 17:45:55 +08:00
fix(FE): Sidebar navigation when collapsed (#686)
* Update README.md * ci(k3s): 💚 fix correct raw github URL for hotrod (#661) Signed-off-by: Prashant Shahi <prashant@signoz.io> (cherry picked from commit d92a3e64f58477af46fc56781489a4be05ec42f0) * chore: 🚚 rename config .yaml to yml for behaviorbot (#673) Signed-off-by: Prashant Shahi <prashant@signoz.io> (cherry picked from commit cd04a39d3dcc1579dc5807ad9cece4eed4437f0d) * fix(FE): sidebar navigation when collapsed Co-authored-by: Pranay Prateek <pranay@signoz.io> Co-authored-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: Ankit Nayan <ankit@signoz.io>
This commit is contained in:
parent
1ee2e302e2
commit
07f4fcb216
@ -73,10 +73,12 @@ const SideNav = ({ toggleDarkMode }: Props): JSX.Element => {
|
|||||||
mode="inline"
|
mode="inline"
|
||||||
>
|
>
|
||||||
{menus.map(({ to, Icon, name }) => (
|
{menus.map(({ to, Icon, name }) => (
|
||||||
<Menu.Item key={to} icon={<Icon />}>
|
<Menu.Item
|
||||||
<div onClick={(): void => onClickHandler(to)}>
|
key={to}
|
||||||
|
icon={<Icon />}
|
||||||
|
onClick={(): void => onClickHandler(to)}
|
||||||
|
>
|
||||||
<Typography>{name}</Typography>
|
<Typography>{name}</Typography>
|
||||||
</div>
|
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
))}
|
))}
|
||||||
</Menu>
|
</Menu>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user